Home » CEEFAX disks » telesoftware12.adl » 04-02-89/Bisness

04-02-89/Bisness

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » CEEFAX disks » telesoftware12.adl
Filename: 04-02-89/Bisness
Read OK:
File size: 283B bytes
Load address: FFFF0E00
Exec address: FFFF802B
File contents
    1REM *************************
    2REM * (c) Peter Arnold 1988 *
    3REM *************************
    4REM *   Do NOT!! renumber   *
    5REM *************************
   10ONERRORPROCa
   20MODE7
   30VDU141,129:PRINTSPC(12)"The Business"
   40VDU141,129:PRINTSPC(12)"The Business"
   50PRINT'''"    Do you want instructions? (Y/N)"
   60A$=GET$
   70IFA$="Y"ORA$="y" THENPROCb:GOTO90
   80IFA$<>"N"ANDA$<>"n" THENGOTO20
   90PROCc
  100REPEAT
  110PROCd
  120e=FNf
  130IFe=1 THENPROCg
  140IFe=2 THENPROCh
  150IFe=3 THENPROCi
  160IFe=4 THENPROCj:CLS:PROCl:PROCk:PROCm
  180IFn-o>=50000 THENPROCp(1):GOTO220
  190IFn<0 THENPROCp(2):GOTO220
  200UNTILq>30
  210IFq>30 THENPROCp(3)
  220PRINT'"Do you want another go ? (Y/N)";
  230A$=GET$:IFA$="y"ORA$="Y" THENCLEAR:RUN
  240IFA$<>"N"ANDA$<>"n" THENGOTO230
  250MODE7:END
  260DEFPROCp(f)
  270CLS:PROCd
  280ON f GOTO290,310,340
  290PRINT'"Congratulations,   you  have  made  more than  `50,000!!!  You achieved this magic figure after ";q" weeks trading."
  300ENDPROC
  310PRINT'"Unfortunately, you are bankrupt and"
  320PRINT"must take a very long holiday in Brazil"
  330ENDPROC
  340PRINT"Your time is up. You started with `10000 and now have `";n
  350ENDPROC
  370DEFPROCg
  380CLS
  390IFo=0 THENPROCr:ENDPROC
  400PRINT"Do you wish to borrow or repay money?                   (B/R)"
  410A$=GET$
  420CLS
  430IFA$="B"ORA$="b" THENPROCr
  440IFA$="R"ORA$="r" THENPROCs
  450IFA$<>"B"ANDA$<>"b"ANDA$<>"R"ANDA$<>"r" THENGOTO380
  460ENDPROC
  470DEFPROCs
  480INPUT"How much do you wish to repay `"t
  490IFt>(n) THENPRINT"You cannot afford that."':GOTO480
  500IFt>o THENPRINT"You have not borrowed that much."':GOTO480
  510IFt<0 THENPRINT"Don't be silly!!"':GOTO480
  520o=o-t:n=n-t
  530ENDPROC
  540DEFPROCr
  550u=INT((n-o)/4)
  560IFo>u THENVDU7:PRINT"You are already above your credit limit":PROCv:ENDPROC
  570IFo=u THENVDU7:PRINT"You have got as big a loan as  the  bankwishes to lend to you at the moment!":PROCv:ENDPROC
  580PRINT"You can borrow up to `";(u-o);"."
  590INPUT"How much do you want `"w:w=INT(w)
  600IFw+o>u THENPRINT'"That is beyond your credit limit"':PROCv:GOTO580
  610IFw<0 THENPRINT"Don't be more stupid than you can help"':PROCv:GOTO580
  620PRINT"The bank approves the loan"
  630TIME=0:REPEATUNTILTIME>100
  640o=o+w:n=n+w
  650ENDPROC
  670DEFPROCh
  680CLS
  690PRINT"Press 'T' if you wish to take on staff"
  700PRINT"      'R' if you wish to remove staff"
  710PRINT"  or  'N' for no change in staff"
  720T$=GET$
  730IFT$<>"T"ANDT$<>"R"ANDT$<>"N"ANDT$<>"t"ANDT$<>"r"ANDT$<>"n" THENGOTO720
  740CLS
  750IFT$="N"ORT$="n" THENENDPROC
  760IFT$="T"ORT$="t" THENPROCx
  770IFT$="R"ORT$="r" THENPROCy
  780CLS
  790ENDPROC
  810DEFPROCy
  820INPUT"How many do you wish to remove";Z
  830Z=INT(Z)
  840IFZ>z THENPRINT"That is not possible":GOTO820
  850z=z-Z
  860ENDPROC
  880DEFPROCx
  890INPUT'"How many do you wish to take on";Z
  900Z=INT(Z)
  910IFZ<0 THENPRINT'"The personnel department says this is not a joking matter":GOTO890
  920z=z+Z
  930ENDPROC
  950DEFPROCi
  960CLS
  970PRINT"Press 'A' to buy circuits,                    'B' to buy keyboards,               or  'C' to buy cases"
  980R$=GET$
  990IFR$<>"A"ANDR$<>"B"ANDR$<>"C"ANDR$<>"a"ANDR$<>"b"ANDR$<>"c" THENGOTO980
 1000IFR$="A"ORR$="a" THENaa=ab:R$="Circuits"
 1010IFR$="B"ORR$="b" THENaa=ac:R$="Keyboards"
 1020IFR$="C"ORR$="c" THENaa=ad:R$="Cases"
 1030CLS
 1040PRINTR$" cost `";aa;" each.":INPUT"How many do you wish to buy? "M
 1050M=ABS(INT(M))
 1060IFM*aa>n THENPRINT"You do not have enough money":VDU7:PROCv:GOTO1030
 1070ae=ae+M*aa
 1080n=n-M*aa:af=af+M*aa
 1090IFR$="Circuits" THENag=ag+M
 1100IFR$="Keyboards" THENah=ah+M
 1110IFR$="Cases" THENai=ai+M
 1120ENDPROC
 1140DEFPROCj
 1150aj=ak
 1160al=INT(1.0025*al*100)/100:al=INT(10*al)/10
 1170am=INT(an*(RND(1)+.8)):IFam>an THENam=an
 1180IFan=0ANDz>0 THENPRINT"There were insufficient  components  to make any computers!":GOTO1250
 1190IFan=0 THENPRINT"You  are not employing any  staff so no computers can be made!":GOTO1250
 1200IFam<an THENPRINT"Production this week was reduced to":PRINTam;" due to breakages"ELSEPRINT"No breakages this week!":PRINT'am;" computers made"
 1210ag=INT(ag-3*an+.5)
 1220ah=INT(ah-2*an)
 1230ai=INT(ai-an)
 1240ak=ak+am
 1250PRINT
 1260PROCv:CLS
 1270ao=al*am
 1280PRINT"Total production costs `";ao
 1290PRINT"Wages                  `";ap*z
 1300aq=o*0.01
 1310PRINT"Bank interest charges  `";aq
 1320ar=aq+(ap*z)+ao
 1330PRINT"Total costs            `";ar
 1340n=INT(n-ar)
 1350PROCv:ENDPROC
 1370DEFPROCk
 1375IF (n-o<(1666.66*q) OR q<10) THEN av=0:ENDPROC
 1380REPEAT:as=RND(9):UNTILA(as)=0
 1390A(as)=1:CLS
 1400at=at+1:IFat=9 THENFORI=1 TO9:A(I)=0:NEXT:at=0
 1410ONas GOSUB1440,1470,1500,1550,1580,1620,1650,1680,1710
 1420PROCv
 1430ENDPROC
 1440PRINT"There  is a new competitor in the market so the market price is cut by one-third."
 1450au=au*0.6666:av=0
 1460RETURN
 1470PRINT"The government has introduced new safety regulations for  the  computer industry. Complying  with  them  adds  `1 to  your manufacturing costs..."
 1480al=al+1:av=0
 1490RETURN
 1500aw=o*0.02
 1510PRINT"A  wave of industrial unrest sweeps over your factory... The  unions  vote for  a total  lockout  for  two weeks!";
 1520IFaw>0 THENPRINT;" Interest charges on your loan have been `";aw;"."ELSEPRINT
 1530n=n-INT(aw):av=INT(aw):q=q+2
 1540RETURN
 1550PRINT"There has been a fire in your warehouse. Half your  existing  stock  has  been destroyed."
 1560ak=INT(ak/2):av=0
 1570RETURN
 1580PRINT"You  decide to spend `5000 to streamline your assembly lines. This cuts  costs by 10%."
 1590n=n-5000:av=5000
 1600al=INT(al*0.9)
 1610RETURN
 1620PRINT"Your  supplier goes on strike disrupting supplies  of circuits.  You agree to pay higher costs  for them  so they go up in price by 7%."
 1630ab=INT(1.07*ab):av=0
 1640RETURN
 1650PRINT"Import duties on keyboards have been cutby 15% so they now cost less."
 1660ac=INT(ac*.85):av=0
 1670RETURN
 1680PRINT"A trace  of contaminant  is found in the drinking water supplied to your plant so staff demand a `2 'danger' bonus."
 1690ap=ap+2:av=0
 1700RETURN
 1710IF am>0 THEN PRINT"Quality  control has discovered that all of this week's production is faulty. The entire week's production of ";am:PRINT"has to be destroyed":ak=ak-am:av=0
 1730RETURN
 1750DEFPROCl
 1760q=q+1
 1770ax=0
 1780au=1.01*au
 1790CLS
 1800IFak=0 THENPRINT"You have no  computers  in stock  so you cannot sell any!":ay=0:GOTO2040
 1810PRINT"Your current selling price is `";az
 1820PRINT"The market price is `";INT(au)
 1830M=0
 1840PRINT"Enter 'C' to change the price,"
 1850PRINT"  or  'M' to maintain current price"
 1860R$=GET$
 1870IFR$<>"C"ANDR$<>"M"ANDR$<>"c"ANDR$<>"m" THEN1860
 1880IFR$="M"ORR$="m" THENGOTO1930
 1890INPUT"What is the new price in `"M
 1900IFM<0 THEN1890
 1910az=INT(M)
 1930ba=INT(ak*.75)
 1940bb=INT((ABS(az-au))*(RND(2)+1))
 1950IFaz<au THENba=ba+bb ELSEIFaz>au THENba=ba-bb
 1960IFba<0 THENba=0
 1970IFaz>au+(RND(10)+20) THENba=0
 1980CLS:IFba>ak THENba=ak
 1990PRINT"You sold ";ba;" computers this week"
 2000ay=ba*az
 2010PRINT"This has earnt you `";ay
 2020n=INT(n+ay)
 2030ak=ak-ba
 2040PROCv:ENDPROC
 2060DEFPROCc
 2070VDU26:CLS:*FX15,0
 2080VDU141,129:PRINTSPC(12)"The Business"
 2090VDU141,129:PRINTSPC(12)"The Business"
 2100INPUT''''"What is the name of your company?"'ao$
 2110IFLENao$>37 THENPRINT"Your name is too long!":GOTO2100
 2120o=1000
 2130q=1
 2140n=10000
 2150z=35
 2160Q=0:DIMA(9):FORI=1 TO9:A(I)=0:NEXT
 2170ap=86
 2180af=0
 2190ag=65
 2200ab=15
 2210ah=100
 2220ac=20
 2230ai=35
 2240ad=25
 2250al=15
 2260ak=0
 2270az=180
 2280au=INT(.97*az)
 2290ENDPROC
 2310DEFPROCd
 2320VDU26:CLS
 2330VDU141,129:PRINTSPC((38-LENao$)/2);ao$
 2340VDU141,129:PRINTSPC((38-LENao$)/2);ao$
 2350VDU130:PRINTSPC(10)"Company information"
 2360PRINTTAB(16);"Week :";q
 2370PRINT"    Money `";INT(n);TAB(20);"Bank Loan `";INT(o)
 2380PRINT
 2390VDU131:PRINTSPC(14)"Stock Levels"
 2400PRINT"Circuits :";ag;TAB(14);"Keyboards :";ah;TAB(29);"Cases :";ai
 2410an=ai
 2420IFINT(ah/2)<an THENan=INT(ah/2)
 2430IFINT(ag/3)<an THENan=INT(ag/3)
 2440IFan>z*2 THENan=z*2
 2450PRINT'"Production Level :";an;TAB(22);"Items in Stock:";ak
 2460PRINT"Number of Staff  :";z;TAB(22);"Wage Bill `";(ap*z)
 2470PRINT
 2480VDU132:PRINTSPC(17);"MENU"
 2490PRINTSPC(18);"----"
 2500PRINT"       1. Visit Bank"
 2510PRINT"       2. Change Staff Levels"
 2520PRINT"       3. Purchase Components"
 2530PRINT"       4. Manufacture & Sell Computers"
 2540VDU28,0,24,39,20
 2550ENDPROC
 2560DEFFNf
 2570*FX 15,0
 2580A$=GET$
 2590IFVAL(A$)>4ORVAL(A$)<1 THENGOTO2570
 2600=VAL(A$)
 2610DEFPROCa
 2620VDU26:CLS
 2630PRINT
 2640REPORT:PRINT;" at line ";ERL
 2650END
 2660DEFPROCv
 2670PRINT"Press SPACE to continue";
 2680REPEATUNTILGET$=" "
 2690CLS
 2700ENDPROC
 2710DEFPROCm
 2720CLS
 2730PRINT"This week your costs were `";INT(ar+af+av)
 2740PRINT"This week your revenue is `";INT(ay)
 2750ar=ar+af
 2760bc=INT(ABS(ar-ay)):af=0
 2770IFar>ay THENPRINT'"You made an overall loss of `";bc
 2780IFar<=ay THENPRINT'"You made an overall profit of `";bc
 2790PROCv
 2800ENDPROC
 2810DEFPROCb
 2820CLS
 2830VDU23,1,0,0,0,0,0,0,0,0
 2840bd=3040
 2850PRINTTAB(0,24);"  Cursor keys to scroll : SPACE to end"
 2860VDU28,0,21,39,0
 2870RESTOREbd
 2880FORbe=bd TObd+20
 2890READbf$:bg=134
 2900VDUbg:PRINTbf$
 2910NEXT
 2920REPEAT
 2930bh=bd
 2940REPEAT
 2950IFINKEY-99 THENENDPROC
 2960IFINKEY-58 THENbd=bd-10
 2970IFINKEY-42 THENbd=bd+10
 2980UNTILbh<>bd
 2990IFbd<3060 bd=3060:GOTO2930
 3000IFbd>3530 bd=3530:GOTO2930
 3010IFbh<bd THENRESTOREbd+170:READbf$:bg=134:VDUbg:PRINTbf$:GOTO2930
 3020PRINTTAB(0,0);CHR$(11)
 3030RESTOREbd-20:READbf$:bg=134:VDUbg:PRINTbf$:PRINTTAB(0,20):GOTO2930
 3040DATA"  This  program  is  a  simulation  of"
 3050DATA"running    a    small    firm   making"
 3060DATA"computers.  You  are  in  debt and owe"
 3070DATA"your  suppliers  `50,000 which must be"
 3080DATA"repaid in 30 weeks."
 3090DATA"  You,  as head of the  firm,  control"
 3100DATA"its future.  You  buy components, hire"
 3110DATA"or  fire  staff  and   decide  on  the"
 3120DATA"selling price of the finished product."
 3130DATA"The  game  is user-friendly, prompting"
 3140DATA"you for your action at every stage."
 3150DATA"  When   you   finish   reading  these"
 3160DATA"instructions  you  are  presented with"
 3170DATA"the information for the firm. You will"
 3180DATA"see  that  you have  a  bank  loan  of"
 3190DATA"`1000, have enough components in stock"
 3200DATA"to make some  computers  and the staff"
 3210DATA"level,   wage   bill   and  number  of"
 3220DATA"computers  in  stock. At the bottom of"
 3230DATA"the display there is a menu. "
 3240DATA""
 3250DATA"       Choice One : Visit Bank."
 3260DATA"  You can either repay money  that you"
 3270DATA"owe or take out a bigger  loan.  There"
 3280DATA"is  a  maximum that the bank will lend"
 3290DATA"you.  A  bank   loan  does  not  count"
 3300DATA"towards the `50,000.  You  are charged"
 3310DATA"interest of 1% a week  on any loan you"
 3320DATA"have."
 3330DATA""
 3340DATA"    Choice Two : Change staff levels"
 3350DATA"  This option allows you to change the"
 3360DATA"number   of  staff  you  employ.  Each"
 3370DATA"person  can  make  a  maximum  of  two"
 3380DATA"computers  a  week. The more staff you"
 3390DATA"have the more  you can produce but the"
 3400DATA"greater your wage bill."
 3410DATA""
 3420DATA"     Choice Three : Buy components"
 3430DATA"  This  option allows you to buy  more"
 3440DATA"raw materials  to make more computers."
 3450DATA"Each  computer  needs   three  circuit"
 3460DATA"boards, two keyboards  and  one  case."
 3470DATA"You  have  to  reflect these ratios in"
 3480DATA"your stock levels."
 3490DATA""
 3500DATA"  Choice Four : Manufacture and sell"
 3510DATA"  This  option  is used when  you  are"
 3520DATA"satisfied with the staff and component"
 3530DATA"levels.   You   are   told   how  many"
 3540DATA"computers you made that  week and what"
 3550DATA"your total costs were.  You  are  then"
 3560DATA"shown   the   'market  price'  for the"
 3570DATA"computers. This is the average selling"
 3580DATA"price for all the  computers  in  that"
 3590DATA"area of the market.  If  your  selling"
 3600DATA"price is higher than the market  price"
 3610DATA"you sell few computers; if it is lower"
 3620DATA"you sell lots. At the end of this  you"
 3630DATA"are shown your finances over  the week"
 3640DATA"and if you made a profit or a loss."
 3650DATA""
 3660DATA"  The game ends either when  you  make"
 3670DATA"the  `50,000  or when the 30 weeks are"
 3680DATA"up or if you become bankrupt."
 3690DATA""
 3700DATA"    Program (C) Peter Arnold 1988"
� *************************
� * (c) Peter Arnold 1988 *
� *************************
� *   Do NOT!! renumber   *
� *************************

��a
�7
!�141,129:�(12)"The Business"
(!�141,129:�(12)"The Business"
2-�'''"    Do you want instructions? (Y/N)"
<A$=�
F�A$="Y"�A$="y" ��b:�DZ@
P�A$<>"N"�A$<>"n" ��TT@
Z�c
d�
n�d
xe=�f
��e=1 ��g
��e=2 ��h
��e=3 ��i
��e=4 ��j:�:�l:�k:�m
��n-o>=50000 ��p(1):�d\@
��n<0 ��p(2):�d\@
�	�q>30
��q>30 ��p(3)
�'�'"Do you want another go ? (Y/N)";
�A$=�:�A$="y"�A$="Y" ��:�
��A$<>"N"�A$<>"n" ��df@
��7:�

��p(f)
�:�d
� f �TbA,�TvA,�DTA
"{�'"Congratulations,   you  have  made  more than  `50,000!!!  You achieved this magic figure after ";q" weeks trading."
,�
6+�'"Unfortunately, you are bankrupt and"
@.�"must take a very long holiday in Brazil"
J�
T@�"Your time is up. You started with `10000 and now have `";n
^�
r��g
|�
��o=0 ��r:�
�D�"Do you wish to borrow or repay money?                   (B/R)"
�A$=�
��
��A$="B"�A$="b" ��r
��A$="R"�A$="r" ��s
�+�A$<>"B"�A$<>"b"�A$<>"R"�A$<>"r" ��D|A
��
���s
�'�"How much do you wish to repay `"t
�-�t>(n) ��"You cannot afford that."':�d`A
�4�t>o ��"You have not borrowed that much."':�d`A
�$�t<0 ��"Don't be silly!!"':�d`A
o=o-t:n=n-t
�
��r
&u=�((n-o)/4)
0<�o>u ��7:�"You are already above your credit limit":�v:�
:a�o=u ��7:�"You have got as big a loan as  the  bankwishes to lend to you at the moment!":�v:�
D'�"You can borrow up to `";(u-o);"."
N%�"How much do you want `"w:w=�(w)
X:�w+o>u ��'"That is beyond your credit limit"':�v:�DDB
b=�w<0 ��"Don't be more stupid than you can help"':�v:�DDB
l!�"The bank approves the loan"
v�=0:���>100
�o=o+w:n=n+w
��
���h
��
�-�"Press 'T' if you wish to take on staff"
�,�"      'R' if you wish to remove staff"
�'�"  or  'N' for no change in staff"
�T$=�
�;�T$<>"T"�T$<>"R"�T$<>"N"�T$<>"t"�T$<>"r"�T$<>"n" ��dPB
��
��T$="N"�T$="n" ��
��T$="T"�T$="t" ��x
�T$="R"�T$="r" ��y
�
�
*��y
4'�"How many do you wish to remove";Z
>
Z=�(Z)
H'�Z>z ��"That is not possible":�TtC
R	z=z-Z
\�
p��x
z)�'"How many do you wish to take on";Z
�
Z=�(Z)
�M�Z<0 ��'"The personnel department says this is not a joking matter":�DzC
�	z=z+Z
��
���i
��
�m�"Press 'A' to buy circuits,                    'B' to buy keyboards,               or  'C' to buy cases"
�R$=�
�;�R$<>"A"�R$<>"B"�R$<>"C"�R$<>"a"�R$<>"b"�R$<>"c" ��dTC
�'�R$="A"�R$="a" �aa=ab:R$="Circuits"
�(�R$="B"�R$="b" �aa=ac:R$="Keyboards"
�$�R$="C"�R$="c" �aa=ad:R$="Cases"
�
>�R$" cost `";aa;" each.":�"How many do you wish to buy? "M

M=�(�(M))
$8�M*aa>n ��"You do not have enough money":�7:�v:�TFD
.ae=ae+M*aa
8n=n-M*aa:af=af+M*aa
B�R$="Circuits" �ag=ag+M
L�R$="Keyboards" �ah=ah+M
V�R$="Cases" �ai=ai+M
`�
t��j
~	aj=ak
�*al=�(1.0025*al*100)/100:al=�(10*al)/10
�$am=�(an*(�(1)+.8)):�am>an �am=an
�S�an=0�z>0 ��"There were insufficient  components  to make any computers!":�dbD
�R�an=0 ��"You  are not employing any  staff so no computers can be made!":�dbD
�|�am<an ��"Production this week was reduced to":�am;" due to breakages"��"No breakages this week!":�'am;" computers made"
�ag=�(ag-3*an+.5)
�ah=�(ah-2*an)
�ai=�(ai-an)
�ak=ak+am
��
��v:�
�ao=al*am
"�"Total production costs `";ao

$�"Wages                  `";ap*z

aq=o*0.01
"�"Bank interest charges  `";aq
(ar=aq+(ap*z)+ao
2"�"Total costs            `";ar
<
n=�(n-ar)
F�v:�
Z��k
_'� (n-o<(1666.66*q) � q<10) � av=0:�
d�:as=�(9):�A(as)=0
n
A(as)=1:�
x(at=at+1:�at=9 ��I=1 �9:A(I)=0:�:at=0
�5�as �t`E,�t~E,�d\E,�TNF,�TlF,�DTF,�DrF,�tPF,�tnF
��v
��
�X�"There  is a new competitor in the market so the market price is cut by one-third."
�au=au*0.6666:av=0
��
���"The government has introduced new safety regulations for  the  computer industry. Complying  with  them  adds  `1 to  your manufacturing costs..."
�al=al+1:av=0
��
�
aw=o*0.02
�y�"A  wave of industrial unrest sweeps over your factory... The  unions  vote for  a total  lockout  for  two weeks!";
�B�aw>0 ��;" Interest charges on your loan have been `";aw;"."��
�n=n-�(aw):av=�(aw):q=q+2
�
`�"There has been a fire in your warehouse. Half your  existing  stock  has  been destroyed."
ak=�(ak/2):av=0
"�
,]�"You  decide to spend `5000 to streamline your assembly lines. This cuts  costs by 10%."
6n=n-5000:av=5000
@al=�(al*0.9)
J�
T��"Your  supplier goes on strike disrupting supplies  of circuits.  You agree to pay higher costs  for them  so they go up in price by 7%."
^ab=�(1.07*ab):av=0
h�
rL�"Import duties on keyboards have been cutby 15% so they now cost less."
|ac=�(ac*.85):av=0
��
�z�"A trace  of contaminant  is found in the drinking water supplied to your plant so staff demand a `2 'danger' bonus."
�ap=ap+2:av=0
��
��� am>0 � �"Quality  control has discovered that all of this week's production is faulty. The entire week's production of ";am:�"has to be destroyed":ak=ak-am:av=0
��
���l
�	q=q+1
�ax=0
�au=1.01*au
��
R�ak=0 ��"You have no  computers  in stock  so you cannot sell any!":ay=0:�dxG
)�"Your current selling price is `";az
"�"The market price is `";�(au)
&M=0
0%�"Enter 'C' to change the price,"
:*�"  or  'M' to maintain current price"
DR$=�
N*�R$<>"C"�R$<>"M"�R$<>"c"�R$<>"m" ��DDG
X�R$="M"�R$="m" ��tJG
b"�"What is the new price in `"M
l�M<0 ��DbG
vaz=�(M)
�ba=�(ak*.75)
�bb=�((�(az-au))*(�(2)+1))
�&�az<au �ba=ba+bb ��az>au �ba=ba-bb
��ba<0 �ba=0
��az>au+(�(10)+20) �ba=0
��:�ba>ak �ba=ak
�*�"You sold ";ba;" computers this week"
�ay=ba*az
��"This has earnt you `";ay
�
n=�(n+ay)
�ak=ak-ba
��v:�
��c
�26:�:*FX15,0
 !�141,129:�(12)"The Business"
*!�141,129:�(12)"The Business"
40�''''"What is the name of your company?"'ao$
>-�ao$>37 ��"Your name is too long!":�TtH
H
o=1000
Rq=1
\n=10000
fz=35
pQ=0:�A(9):�I=1 �9:A(I)=0:�
z	ap=86
�af=0
�	ag=65
�	ab=15
�
ah=100
�	ac=20
�	ai=35
�	ad=25
�	al=15
�ak=0
�
az=180
�au=�(.97*az)
��
	��d
		�26:�
	 �141,129:�((38-�ao$)/2);ao$
	$ �141,129:�((38-�ao$)/2);ao$
	.$�130:�(10)"Company information"
	8�16);"Week :";q
	B/�"    Money `";�(n);�20);"Bank Loan `";�(o)
	L�
	V�131:�(14)"Stock Levels"
	`<�"Circuits :";ag;�14);"Keyboards :";ah;�29);"Cases :";ai
	j	an=ai
	t�(ah/2)<an �an=�(ah/2)
	~�(ag/3)<an �an=�(ag/3)
	��an>z*2 �an=z*2
	�7�'"Production Level :";an;�22);"Items in Stock:";ak
	�5�"Number of Staff  :";z;�22);"Wage Bill `";(ap*z)
	��
	��132:�(17);"MENU"
	��(18);"----"
	��"       1. Visit Bank"
	�$�"       2. Change Staff Levels"
	�$�"       3. Purchase Components"
	�-�"       4. Manufacture & Sell Computers"
	��28,0,24,39,20
	��
ݤf

*FX 15,0
A$=�
�(A$)>4��(A$)<1 ��TJJ
(
=�(A$)
2��a
<	�26:�
F�
P�:�;" at line ";�
Z�
d��v
n�"Press SPACE to continue";
x���=" "
��
��
���m
��
�.�"This week your costs were `";�(ar+af+av)
�(�"This week your revenue is `";�(ay)
�ar=ar+af
�bc=�(�(ar-ay)):af=0
�0�ar>ay ��'"You made an overall loss of `";bc
�3�ar<=ay ��'"You made an overall profit of `";bc
��v
��
���b
�
�23,1,0,0,0,0,0,0,0,0
bd=3040
"4�0,24);"  Cursor keys to scroll : SPACE to end"
,�28,0,21,39,0
6�bd
@�be=bd �bd+20
J�bf$:bg=134
T�bg:�bf$
^�
h�
r	bh=bd
|�
��-99 ��
��-58 �bd=bd-10
��-42 �bd=bd+10
��bh<>bd
��bd<3060 bd=3060:�DrK
��bd>3530 bd=3530:�DrK
�.�bh<bd ��bd+170:�bf$:bg=134:�bg:�bf$:�DrK
��0,0);�(11)
�-�bd-20:�bf$:bg=134:�bg:�bf$:�0,20):�DrK
�-�"  This  program  is  a  simulation  of"
�-�"running    a    small    firm   making"
�-�"computers.  You  are  in  debt and owe"
�-�"your  suppliers  `50,000 which must be"
�"repaid in 30 weeks."
-�"  You,  as head of the  firm,  control"
-�"its future.  You  buy components, hire"
&-�"or  fire  staff  and   decide  on  the"
0-�"selling price of the finished product."
:-�"The  game  is user-friendly, prompting"
D*�"you for your action at every stage."
N-�"  When   you   finish   reading  these"
X-�"instructions  you  are  presented with"
b-�"the information for the firm. You will"
l-�"see  that  you have  a  bank  loan  of"
v-�"`1000, have enough components in stock"
�-�"to make some  computers  and the staff"
�-�"level,   wage   bill   and  number  of"
�-�"computers  in  stock. At the bottom of"
�$�"the display there is a menu. "
��""
�&�"       Choice One : Visit Bank."
�-�"  You can either repay money  that you"
�-�"owe or take out a bigger  loan.  There"
�-�"is  a  maximum that the bank will lend"
�-�"you.  A  bank   loan  does  not  count"
�-�"towards the `50,000.  You  are charged"
�-�"interest of 1% a week  on any loan you"
��"have."

�""

+�"    Choice Two : Change staff levels"

-�"  This option allows you to change the"

 -�"number   of  staff  you  employ.  Each"

*-�"person  can  make  a  maximum  of  two"

4-�"computers  a  week. The more staff you"

>-�"have the more  you can produce but the"

H�"greater your wage bill."

R�""

\)�"     Choice Three : Buy components"

f-�"  This  option allows you to buy  more"

p-�"raw materials  to make more computers."

z-�"Each  computer  needs   three  circuit"

�-�"boards, two keyboards  and  one  case."

�-�"You  have  to  reflect these ratios in"

��"your stock levels."

��""

�+�"  Choice Four : Manufacture and sell"

�-�"  This  option  is used when  you  are"

�-�"satisfied with the staff and component"

�-�"levels.   You   are   told   how  many"

�-�"computers you made that  week and what"

�-�"your total costs were.  You  are  then"

�-�"shown   the   'market  price'  for the"

�-�"computers. This is the average selling"

�-�"price for all the  computers  in  that"
-�"area of the market.  If  your  selling"
-�"price is higher than the market  price"
-�"you sell few computers; if it is lower"
$-�"you sell lots. At the end of this  you"
.-�"are shown your finances over  the week"
8*�"and if you made a profit or a loss."
B�""
L-�"  The game ends either when  you  make"
V-�"the  `50,000  or when the 30 weeks are"
`$�"up or if you become bankrupt."
j�""
t(�"    Program (C) Peter Arnold 1988"
�
00000000  0d 00 01 1f f4 20 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |..... **********|
00000010  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 0d  |***************.|
00000020  00 02 1f f4 20 2a 20 28  63 29 20 50 65 74 65 72  |.... * (c) Peter|
00000030  20 41 72 6e 6f 6c 64 20  31 39 38 38 20 2a 0d 00  | Arnold 1988 *..|
00000040  03 1f f4 20 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |... ************|
00000050  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 0d 00 04  |*************...|
00000060  1f f4 20 2a 20 20 20 44  6f 20 4e 4f 54 21 21 20  |.. *   Do NOT!! |
00000070  72 65 6e 75 6d 62 65 72  20 20 20 2a 0d 00 05 1f  |renumber   *....|
00000080  f4 20 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |. **************|
00000090  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 0d 00 0a 08 ee  |***********.....|
000000a0  85 f2 61 0d 00 14 06 eb  37 0d 00 1e 21 ef 31 34  |..a.....7...!.14|
000000b0  31 2c 31 32 39 3a f1 89  28 31 32 29 22 54 68 65  |1,129:..(12)"The|
000000c0  20 42 75 73 69 6e 65 73  73 22 0d 00 28 21 ef 31  | Business"..(!.1|
000000d0  34 31 2c 31 32 39 3a f1  89 28 31 32 29 22 54 68  |41,129:..(12)"Th|
000000e0  65 20 42 75 73 69 6e 65  73 73 22 0d 00 32 2d f1  |e Business"..2-.|
000000f0  27 27 27 22 20 20 20 20  44 6f 20 79 6f 75 20 77  |'''"    Do you w|
00000100  61 6e 74 20 69 6e 73 74  72 75 63 74 69 6f 6e 73  |ant instructions|
00000110  3f 20 28 59 2f 4e 29 22  0d 00 3c 08 41 24 3d be  |? (Y/N)"..<.A$=.|
00000120  0d 00 46 1c e7 41 24 3d  22 59 22 84 41 24 3d 22  |..F..A$="Y".A$="|
00000130  79 22 20 8c f2 62 3a e5  8d 44 5a 40 0d 00 50 1b  |y" ..b:..DZ@..P.|
00000140  e7 41 24 3c 3e 22 4e 22  80 41 24 3c 3e 22 6e 22  |.A$<>"N".A$<>"n"|
00000150  20 8c e5 8d 54 54 40 0d  00 5a 06 f2 63 0d 00 64  | ...TT@..Z..c..d|
00000160  05 f5 0d 00 6e 06 f2 64  0d 00 78 08 65 3d a4 66  |....n..d..x.e=.f|
00000170  0d 00 82 0c e7 65 3d 31  20 8c f2 67 0d 00 8c 0c  |.....e=1 ..g....|
00000180  e7 65 3d 32 20 8c f2 68  0d 00 96 0c e7 65 3d 33  |.e=2 ..h.....e=3|
00000190  20 8c f2 69 0d 00 a0 17  e7 65 3d 34 20 8c f2 6a  | ..i.....e=4 ..j|
000001a0  3a db 3a f2 6c 3a f2 6b  3a f2 6d 0d 00 b4 1c e7  |:.:.l:.k:.m.....|
000001b0  6e 2d 6f 3e 3d 35 30 30  30 30 20 8c f2 70 28 31  |n-o>=50000 ..p(1|
000001c0  29 3a e5 8d 64 5c 40 0d  00 be 15 e7 6e 3c 30 20  |):..d\@.....n<0 |
000001d0  8c f2 70 28 32 29 3a e5  8d 64 5c 40 0d 00 c8 09  |..p(2):..d\@....|
000001e0  fd 71 3e 33 30 0d 00 d2  10 e7 71 3e 33 30 20 8c  |.q>30.....q>30 .|
000001f0  f2 70 28 33 29 0d 00 dc  27 f1 27 22 44 6f 20 79  |.p(3)...'.'"Do y|
00000200  6f 75 20 77 61 6e 74 20  61 6e 6f 74 68 65 72 20  |ou want another |
00000210  67 6f 20 3f 20 28 59 2f  4e 29 22 3b 0d 00 e6 1c  |go ? (Y/N)";....|
00000220  41 24 3d be 3a e7 41 24  3d 22 79 22 84 41 24 3d  |A$=.:.A$="y".A$=|
00000230  22 59 22 20 8c d8 3a f9  0d 00 f0 1b e7 41 24 3c  |"Y" ..:......A$<|
00000240  3e 22 4e 22 80 41 24 3c  3e 22 6e 22 20 8c e5 8d  |>"N".A$<>"n" ...|
00000250  64 66 40 0d 00 fa 08 eb  37 3a e0 0d 01 04 0a dd  |df@.....7:......|
00000260  f2 70 28 66 29 0d 01 0e  08 db 3a f2 64 0d 01 18  |.p(f).....:.d...|
00000270  17 ee 20 66 20 e5 8d 54  62 41 2c 8d 54 76 41 2c  |.. f ..TbA,.TvA,|
00000280  8d 44 54 41 0d 01 22 7b  f1 27 22 43 6f 6e 67 72  |.DTA.."{.'"Congr|
00000290  61 74 75 6c 61 74 69 6f  6e 73 2c 20 20 20 79 6f  |atulations,   yo|
000002a0  75 20 20 68 61 76 65 20  20 6d 61 64 65 20 20 6d  |u  have  made  m|
000002b0  6f 72 65 20 74 68 61 6e  20 20 60 35 30 2c 30 30  |ore than  `50,00|
000002c0  30 21 21 21 20 20 59 6f  75 20 61 63 68 69 65 76  |0!!!  You achiev|
000002d0  65 64 20 74 68 69 73 20  6d 61 67 69 63 20 66 69  |ed this magic fi|
000002e0  67 75 72 65 20 61 66 74  65 72 20 22 3b 71 22 20  |gure after ";q" |
000002f0  77 65 65 6b 73 20 74 72  61 64 69 6e 67 2e 22 0d  |weeks trading.".|
00000300  01 2c 05 e1 0d 01 36 2b  f1 27 22 55 6e 66 6f 72  |.,....6+.'"Unfor|
00000310  74 75 6e 61 74 65 6c 79  2c 20 79 6f 75 20 61 72  |tunately, you ar|
00000320  65 20 62 61 6e 6b 72 75  70 74 20 61 6e 64 22 0d  |e bankrupt and".|
00000330  01 40 2e f1 22 6d 75 73  74 20 74 61 6b 65 20 61  |.@.."must take a|
00000340  20 76 65 72 79 20 6c 6f  6e 67 20 68 6f 6c 69 64  | very long holid|
00000350  61 79 20 69 6e 20 42 72  61 7a 69 6c 22 0d 01 4a  |ay in Brazil"..J|
00000360  05 e1 0d 01 54 40 f1 22  59 6f 75 72 20 74 69 6d  |....T@."Your tim|
00000370  65 20 69 73 20 75 70 2e  20 59 6f 75 20 73 74 61  |e is up. You sta|
00000380  72 74 65 64 20 77 69 74  68 20 60 31 30 30 30 30  |rted with `10000|
00000390  20 61 6e 64 20 6e 6f 77  20 68 61 76 65 20 60 22  | and now have `"|
000003a0  3b 6e 0d 01 5e 05 e1 0d  01 72 07 dd f2 67 0d 01  |;n..^....r...g..|
000003b0  7c 05 db 0d 01 86 0e e7  6f 3d 30 20 8c f2 72 3a  ||.......o=0 ..r:|
000003c0  e1 0d 01 90 44 f1 22 44  6f 20 79 6f 75 20 77 69  |....D."Do you wi|
000003d0  73 68 20 74 6f 20 62 6f  72 72 6f 77 20 6f 72 20  |sh to borrow or |
000003e0  72 65 70 61 79 20 6d 6f  6e 65 79 3f 20 20 20 20  |repay money?    |
000003f0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 28  |               (|
00000400  42 2f 52 29 22 0d 01 9a  08 41 24 3d be 0d 01 a4  |B/R)"....A$=....|
00000410  05 db 0d 01 ae 16 e7 41  24 3d 22 42 22 84 41 24  |.......A$="B".A$|
00000420  3d 22 62 22 20 8c f2 72  0d 01 b8 16 e7 41 24 3d  |="b" ..r.....A$=|
00000430  22 52 22 84 41 24 3d 22  72 22 20 8c f2 73 0d 01  |"R".A$="r" ..s..|
00000440  c2 2b e7 41 24 3c 3e 22  42 22 80 41 24 3c 3e 22  |.+.A$<>"B".A$<>"|
00000450  62 22 80 41 24 3c 3e 22  52 22 80 41 24 3c 3e 22  |b".A$<>"R".A$<>"|
00000460  72 22 20 8c e5 8d 44 7c  41 0d 01 cc 05 e1 0d 01  |r" ...D|A.......|
00000470  d6 07 dd f2 73 0d 01 e0  27 e8 22 48 6f 77 20 6d  |....s...'."How m|
00000480  75 63 68 20 64 6f 20 79  6f 75 20 77 69 73 68 20  |uch do you wish |
00000490  74 6f 20 72 65 70 61 79  20 60 22 74 0d 01 ea 2d  |to repay `"t...-|
000004a0  e7 74 3e 28 6e 29 20 8c  f1 22 59 6f 75 20 63 61  |.t>(n) .."You ca|
000004b0  6e 6e 6f 74 20 61 66 66  6f 72 64 20 74 68 61 74  |nnot afford that|
000004c0  2e 22 27 3a e5 8d 64 60  41 0d 01 f4 34 e7 74 3e  |."':..d`A...4.t>|
000004d0  6f 20 8c f1 22 59 6f 75  20 68 61 76 65 20 6e 6f  |o .."You have no|
000004e0  74 20 62 6f 72 72 6f 77  65 64 20 74 68 61 74 20  |t borrowed that |
000004f0  6d 75 63 68 2e 22 27 3a  e5 8d 64 60 41 0d 01 fe  |much."':..d`A...|
00000500  24 e7 74 3c 30 20 8c f1  22 44 6f 6e 27 74 20 62  |$.t<0 .."Don't b|
00000510  65 20 73 69 6c 6c 79 21  21 22 27 3a e5 8d 64 60  |e silly!!"':..d`|
00000520  41 0d 02 08 0f 6f 3d 6f  2d 74 3a 6e 3d 6e 2d 74  |A....o=o-t:n=n-t|
00000530  0d 02 12 05 e1 0d 02 1c  07 dd f2 72 0d 02 26 10  |...........r..&.|
00000540  75 3d a8 28 28 6e 2d 6f  29 2f 34 29 0d 02 30 3c  |u=.((n-o)/4)..0<|
00000550  e7 6f 3e 75 20 8c ef 37  3a f1 22 59 6f 75 20 61  |.o>u ..7:."You a|
00000560  72 65 20 61 6c 72 65 61  64 79 20 61 62 6f 76 65  |re already above|
00000570  20 79 6f 75 72 20 63 72  65 64 69 74 20 6c 69 6d  | your credit lim|
00000580  69 74 22 3a f2 76 3a e1  0d 02 3a 61 e7 6f 3d 75  |it":.v:...:a.o=u|
00000590  20 8c ef 37 3a f1 22 59  6f 75 20 68 61 76 65 20  | ..7:."You have |
000005a0  67 6f 74 20 61 73 20 62  69 67 20 61 20 6c 6f 61  |got as big a loa|
000005b0  6e 20 61 73 20 20 74 68  65 20 20 62 61 6e 6b 77  |n as  the  bankw|
000005c0  69 73 68 65 73 20 74 6f  20 6c 65 6e 64 20 74 6f  |ishes to lend to|
000005d0  20 79 6f 75 20 61 74 20  74 68 65 20 6d 6f 6d 65  | you at the mome|
000005e0  6e 74 21 22 3a f2 76 3a  e1 0d 02 44 27 f1 22 59  |nt!":.v:...D'."Y|
000005f0  6f 75 20 63 61 6e 20 62  6f 72 72 6f 77 20 75 70  |ou can borrow up|
00000600  20 74 6f 20 60 22 3b 28  75 2d 6f 29 3b 22 2e 22  | to `";(u-o);"."|
00000610  0d 02 4e 25 e8 22 48 6f  77 20 6d 75 63 68 20 64  |..N%."How much d|
00000620  6f 20 79 6f 75 20 77 61  6e 74 20 60 22 77 3a 77  |o you want `"w:w|
00000630  3d a8 28 77 29 0d 02 58  3a e7 77 2b 6f 3e 75 20  |=.(w)..X:.w+o>u |
00000640  8c f1 27 22 54 68 61 74  20 69 73 20 62 65 79 6f  |..'"That is beyo|
00000650  6e 64 20 79 6f 75 72 20  63 72 65 64 69 74 20 6c  |nd your credit l|
00000660  69 6d 69 74 22 27 3a f2  76 3a e5 8d 44 44 42 0d  |imit"':.v:..DDB.|
00000670  02 62 3d e7 77 3c 30 20  8c f1 22 44 6f 6e 27 74  |.b=.w<0 .."Don't|
00000680  20 62 65 20 6d 6f 72 65  20 73 74 75 70 69 64 20  | be more stupid |
00000690  74 68 61 6e 20 79 6f 75  20 63 61 6e 20 68 65 6c  |than you can hel|
000006a0  70 22 27 3a f2 76 3a e5  8d 44 44 42 0d 02 6c 21  |p"':.v:..DDB..l!|
000006b0  f1 22 54 68 65 20 62 61  6e 6b 20 61 70 70 72 6f  |."The bank appro|
000006c0  76 65 73 20 74 68 65 20  6c 6f 61 6e 22 0d 02 76  |ves the loan"..v|
000006d0  0f d1 3d 30 3a f5 fd 91  3e 31 30 30 0d 02 80 0f  |..=0:...>100....|
000006e0  6f 3d 6f 2b 77 3a 6e 3d  6e 2b 77 0d 02 8a 05 e1  |o=o+w:n=n+w.....|
000006f0  0d 02 9e 07 dd f2 68 0d  02 a8 05 db 0d 02 b2 2d  |......h........-|
00000700  f1 22 50 72 65 73 73 20  27 54 27 20 69 66 20 79  |."Press 'T' if y|
00000710  6f 75 20 77 69 73 68 20  74 6f 20 74 61 6b 65 20  |ou wish to take |
00000720  6f 6e 20 73 74 61 66 66  22 0d 02 bc 2c f1 22 20  |on staff"...,." |
00000730  20 20 20 20 20 27 52 27  20 69 66 20 79 6f 75 20  |     'R' if you |
00000740  77 69 73 68 20 74 6f 20  72 65 6d 6f 76 65 20 73  |wish to remove s|
00000750  74 61 66 66 22 0d 02 c6  27 f1 22 20 20 6f 72 20  |taff"...'."  or |
00000760  20 27 4e 27 20 66 6f 72  20 6e 6f 20 63 68 61 6e  | 'N' for no chan|
00000770  67 65 20 69 6e 20 73 74  61 66 66 22 0d 02 d0 08  |ge in staff"....|
00000780  54 24 3d be 0d 02 da 3b  e7 54 24 3c 3e 22 54 22  |T$=....;.T$<>"T"|
00000790  80 54 24 3c 3e 22 52 22  80 54 24 3c 3e 22 4e 22  |.T$<>"R".T$<>"N"|
000007a0  80 54 24 3c 3e 22 74 22  80 54 24 3c 3e 22 72 22  |.T$<>"t".T$<>"r"|
000007b0  80 54 24 3c 3e 22 6e 22  20 8c e5 8d 64 50 42 0d  |.T$<>"n" ...dPB.|
000007c0  02 e4 05 db 0d 02 ee 15  e7 54 24 3d 22 4e 22 84  |.........T$="N".|
000007d0  54 24 3d 22 6e 22 20 8c  e1 0d 02 f8 16 e7 54 24  |T$="n" .......T$|
000007e0  3d 22 54 22 84 54 24 3d  22 74 22 20 8c f2 78 0d  |="T".T$="t" ..x.|
000007f0  03 02 16 e7 54 24 3d 22  52 22 84 54 24 3d 22 72  |....T$="R".T$="r|
00000800  22 20 8c f2 79 0d 03 0c  05 db 0d 03 16 05 e1 0d  |" ..y...........|
00000810  03 2a 07 dd f2 79 0d 03  34 27 e8 22 48 6f 77 20  |.*...y..4'."How |
00000820  6d 61 6e 79 20 64 6f 20  79 6f 75 20 77 69 73 68  |many do you wish|
00000830  20 74 6f 20 72 65 6d 6f  76 65 22 3b 5a 0d 03 3e  | to remove";Z..>|
00000840  0a 5a 3d a8 28 5a 29 0d  03 48 27 e7 5a 3e 7a 20  |.Z=.(Z)..H'.Z>z |
00000850  8c f1 22 54 68 61 74 20  69 73 20 6e 6f 74 20 70  |.."That is not p|
00000860  6f 73 73 69 62 6c 65 22  3a e5 8d 54 74 43 0d 03  |ossible":..TtC..|
00000870  52 09 7a 3d 7a 2d 5a 0d  03 5c 05 e1 0d 03 70 07  |R.z=z-Z..\....p.|
00000880  dd f2 78 0d 03 7a 29 e8  27 22 48 6f 77 20 6d 61  |..x..z).'"How ma|
00000890  6e 79 20 64 6f 20 79 6f  75 20 77 69 73 68 20 74  |ny do you wish t|
000008a0  6f 20 74 61 6b 65 20 6f  6e 22 3b 5a 0d 03 84 0a  |o take on";Z....|
000008b0  5a 3d a8 28 5a 29 0d 03  8e 4d e7 5a 3c 30 20 8c  |Z=.(Z)...M.Z<0 .|
000008c0  f1 27 22 54 68 65 20 70  65 72 73 6f 6e 6e 65 6c  |.'"The personnel|
000008d0  20 64 65 70 61 72 74 6d  65 6e 74 20 73 61 79 73  | department says|
000008e0  20 74 68 69 73 20 69 73  20 6e 6f 74 20 61 20 6a  | this is not a j|
000008f0  6f 6b 69 6e 67 20 6d 61  74 74 65 72 22 3a e5 8d  |oking matter":..|
00000900  44 7a 43 0d 03 98 09 7a  3d 7a 2b 5a 0d 03 a2 05  |DzC....z=z+Z....|
00000910  e1 0d 03 b6 07 dd f2 69  0d 03 c0 05 db 0d 03 ca  |.......i........|
00000920  6d f1 22 50 72 65 73 73  20 27 41 27 20 74 6f 20  |m."Press 'A' to |
00000930  62 75 79 20 63 69 72 63  75 69 74 73 2c 20 20 20  |buy circuits,   |
00000940  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000950  20 27 42 27 20 74 6f 20  62 75 79 20 6b 65 79 62  | 'B' to buy keyb|
00000960  6f 61 72 64 73 2c 20 20  20 20 20 20 20 20 20 20  |oards,          |
00000970  20 20 20 20 20 6f 72 20  20 27 43 27 20 74 6f 20  |     or  'C' to |
00000980  62 75 79 20 63 61 73 65  73 22 0d 03 d4 08 52 24  |buy cases"....R$|
00000990  3d be 0d 03 de 3b e7 52  24 3c 3e 22 41 22 80 52  |=....;.R$<>"A".R|
000009a0  24 3c 3e 22 42 22 80 52  24 3c 3e 22 43 22 80 52  |$<>"B".R$<>"C".R|
000009b0  24 3c 3e 22 61 22 80 52  24 3c 3e 22 62 22 80 52  |$<>"a".R$<>"b".R|
000009c0  24 3c 3e 22 63 22 20 8c  e5 8d 64 54 43 0d 03 e8  |$<>"c" ...dTC...|
000009d0  27 e7 52 24 3d 22 41 22  84 52 24 3d 22 61 22 20  |'.R$="A".R$="a" |
000009e0  8c 61 61 3d 61 62 3a 52  24 3d 22 43 69 72 63 75  |.aa=ab:R$="Circu|
000009f0  69 74 73 22 0d 03 f2 28  e7 52 24 3d 22 42 22 84  |its"...(.R$="B".|
00000a00  52 24 3d 22 62 22 20 8c  61 61 3d 61 63 3a 52 24  |R$="b" .aa=ac:R$|
00000a10  3d 22 4b 65 79 62 6f 61  72 64 73 22 0d 03 fc 24  |="Keyboards"...$|
00000a20  e7 52 24 3d 22 43 22 84  52 24 3d 22 63 22 20 8c  |.R$="C".R$="c" .|
00000a30  61 61 3d 61 64 3a 52 24  3d 22 43 61 73 65 73 22  |aa=ad:R$="Cases"|
00000a40  0d 04 06 05 db 0d 04 10  3e f1 52 24 22 20 63 6f  |........>.R$" co|
00000a50  73 74 20 60 22 3b 61 61  3b 22 20 65 61 63 68 2e  |st `";aa;" each.|
00000a60  22 3a e8 22 48 6f 77 20  6d 61 6e 79 20 64 6f 20  |":."How many do |
00000a70  79 6f 75 20 77 69 73 68  20 74 6f 20 62 75 79 3f  |you wish to buy?|
00000a80  20 22 4d 0d 04 1a 0d 4d  3d 94 28 a8 28 4d 29 29  | "M....M=.(.(M))|
00000a90  0d 04 24 38 e7 4d 2a 61  61 3e 6e 20 8c f1 22 59  |..$8.M*aa>n .."Y|
00000aa0  6f 75 20 64 6f 20 6e 6f  74 20 68 61 76 65 20 65  |ou do not have e|
00000ab0  6e 6f 75 67 68 20 6d 6f  6e 65 79 22 3a ef 37 3a  |nough money":.7:|
00000ac0  f2 76 3a e5 8d 54 46 44  0d 04 2e 0e 61 65 3d 61  |.v:..TFD....ae=a|
00000ad0  65 2b 4d 2a 61 61 0d 04  38 17 6e 3d 6e 2d 4d 2a  |e+M*aa..8.n=n-M*|
00000ae0  61 61 3a 61 66 3d 61 66  2b 4d 2a 61 61 0d 04 42  |aa:af=af+M*aa..B|
00000af0  1b e7 52 24 3d 22 43 69  72 63 75 69 74 73 22 20  |..R$="Circuits" |
00000b00  8c 61 67 3d 61 67 2b 4d  0d 04 4c 1c e7 52 24 3d  |.ag=ag+M..L..R$=|
00000b10  22 4b 65 79 62 6f 61 72  64 73 22 20 8c 61 68 3d  |"Keyboards" .ah=|
00000b20  61 68 2b 4d 0d 04 56 18  e7 52 24 3d 22 43 61 73  |ah+M..V..R$="Cas|
00000b30  65 73 22 20 8c 61 69 3d  61 69 2b 4d 0d 04 60 05  |es" .ai=ai+M..`.|
00000b40  e1 0d 04 74 07 dd f2 6a  0d 04 7e 09 61 6a 3d 61  |...t...j..~.aj=a|
00000b50  6b 0d 04 88 2a 61 6c 3d  a8 28 31 2e 30 30 32 35  |k...*al=.(1.0025|
00000b60  2a 61 6c 2a 31 30 30 29  2f 31 30 30 3a 61 6c 3d  |*al*100)/100:al=|
00000b70  a8 28 31 30 2a 61 6c 29  2f 31 30 0d 04 92 24 61  |.(10*al)/10...$a|
00000b80  6d 3d a8 28 61 6e 2a 28  b3 28 31 29 2b 2e 38 29  |m=.(an*(.(1)+.8)|
00000b90  29 3a e7 61 6d 3e 61 6e  20 8c 61 6d 3d 61 6e 0d  |):.am>an .am=an.|
00000ba0  04 9c 53 e7 61 6e 3d 30  80 7a 3e 30 20 8c f1 22  |..S.an=0.z>0 .."|
00000bb0  54 68 65 72 65 20 77 65  72 65 20 69 6e 73 75 66  |There were insuf|
00000bc0  66 69 63 69 65 6e 74 20  20 63 6f 6d 70 6f 6e 65  |ficient  compone|
00000bd0  6e 74 73 20 20 74 6f 20  6d 61 6b 65 20 61 6e 79  |nts  to make any|
00000be0  20 63 6f 6d 70 75 74 65  72 73 21 22 3a e5 8d 64  | computers!":..d|
00000bf0  62 44 0d 04 a6 52 e7 61  6e 3d 30 20 8c f1 22 59  |bD...R.an=0 .."Y|
00000c00  6f 75 20 20 61 72 65 20  6e 6f 74 20 65 6d 70 6c  |ou  are not empl|
00000c10  6f 79 69 6e 67 20 61 6e  79 20 20 73 74 61 66 66  |oying any  staff|
00000c20  20 73 6f 20 6e 6f 20 63  6f 6d 70 75 74 65 72 73  | so no computers|
00000c30  20 63 61 6e 20 62 65 20  6d 61 64 65 21 22 3a e5  | can be made!":.|
00000c40  8d 64 62 44 0d 04 b0 7c  e7 61 6d 3c 61 6e 20 8c  |.dbD...|.am<an .|
00000c50  f1 22 50 72 6f 64 75 63  74 69 6f 6e 20 74 68 69  |."Production thi|
00000c60  73 20 77 65 65 6b 20 77  61 73 20 72 65 64 75 63  |s week was reduc|
00000c70  65 64 20 74 6f 22 3a f1  61 6d 3b 22 20 64 75 65  |ed to":.am;" due|
00000c80  20 74 6f 20 62 72 65 61  6b 61 67 65 73 22 8b f1  | to breakages"..|
00000c90  22 4e 6f 20 62 72 65 61  6b 61 67 65 73 20 74 68  |"No breakages th|
00000ca0  69 73 20 77 65 65 6b 21  22 3a f1 27 61 6d 3b 22  |is week!":.'am;"|
00000cb0  20 63 6f 6d 70 75 74 65  72 73 20 6d 61 64 65 22  | computers made"|
00000cc0  0d 04 ba 14 61 67 3d a8  28 61 67 2d 33 2a 61 6e  |....ag=.(ag-3*an|
00000cd0  2b 2e 35 29 0d 04 c4 11  61 68 3d a8 28 61 68 2d  |+.5)....ah=.(ah-|
00000ce0  32 2a 61 6e 29 0d 04 ce  0f 61 69 3d a8 28 61 69  |2*an)....ai=.(ai|
00000cf0  2d 61 6e 29 0d 04 d8 0c  61 6b 3d 61 6b 2b 61 6d  |-an)....ak=ak+am|
00000d00  0d 04 e2 05 f1 0d 04 ec  08 f2 76 3a db 0d 04 f6  |..........v:....|
00000d10  0c 61 6f 3d 61 6c 2a 61  6d 0d 05 00 22 f1 22 54  |.ao=al*am..."."T|
00000d20  6f 74 61 6c 20 70 72 6f  64 75 63 74 69 6f 6e 20  |otal production |
00000d30  63 6f 73 74 73 20 60 22  3b 61 6f 0d 05 0a 24 f1  |costs `";ao...$.|
00000d40  22 57 61 67 65 73 20 20  20 20 20 20 20 20 20 20  |"Wages          |
00000d50  20 20 20 20 20 20 20 20  60 22 3b 61 70 2a 7a 0d  |        `";ap*z.|
00000d60  05 14 0d 61 71 3d 6f 2a  30 2e 30 31 0d 05 1e 22  |...aq=o*0.01..."|
00000d70  f1 22 42 61 6e 6b 20 69  6e 74 65 72 65 73 74 20  |."Bank interest |
00000d80  63 68 61 72 67 65 73 20  20 60 22 3b 61 71 0d 05  |charges  `";aq..|
00000d90  28 13 61 72 3d 61 71 2b  28 61 70 2a 7a 29 2b 61  |(.ar=aq+(ap*z)+a|
00000da0  6f 0d 05 32 22 f1 22 54  6f 74 61 6c 20 63 6f 73  |o..2"."Total cos|
00000db0  74 73 20 20 20 20 20 20  20 20 20 20 20 20 60 22  |ts            `"|
00000dc0  3b 61 72 0d 05 3c 0d 6e  3d a8 28 6e 2d 61 72 29  |;ar..<.n=.(n-ar)|
00000dd0  0d 05 46 08 f2 76 3a e1  0d 05 5a 07 dd f2 6b 0d  |..F..v:...Z...k.|
00000de0  05 5f 27 e7 20 28 6e 2d  6f 3c 28 31 36 36 36 2e  |._'. (n-o<(1666.|
00000df0  36 36 2a 71 29 20 84 20  71 3c 31 30 29 20 8c 20  |66*q) . q<10) . |
00000e00  61 76 3d 30 3a e1 0d 05  64 16 f5 3a 61 73 3d b3  |av=0:...d..:as=.|
00000e10  28 39 29 3a fd 41 28 61  73 29 3d 30 0d 05 6e 0d  |(9):.A(as)=0..n.|
00000e20  41 28 61 73 29 3d 31 3a  db 0d 05 78 28 61 74 3d  |A(as)=1:...x(at=|
00000e30  61 74 2b 31 3a e7 61 74  3d 39 20 8c e3 49 3d 31  |at+1:.at=9 ..I=1|
00000e40  20 b8 39 3a 41 28 49 29  3d 30 3a ed 3a 61 74 3d  | .9:A(I)=0:.:at=|
00000e50  30 0d 05 82 35 ee 61 73  20 e4 8d 74 60 45 2c 8d  |0...5.as ..t`E,.|
00000e60  74 7e 45 2c 8d 64 5c 45  2c 8d 54 4e 46 2c 8d 54  |t~E,.d\E,.TNF,.T|
00000e70  6c 46 2c 8d 44 54 46 2c  8d 44 72 46 2c 8d 74 50  |lF,.DTF,.DrF,.tP|
00000e80  46 2c 8d 74 6e 46 0d 05  8c 06 f2 76 0d 05 96 05  |F,.tnF.....v....|
00000e90  e1 0d 05 a0 58 f1 22 54  68 65 72 65 20 20 69 73  |....X."There  is|
00000ea0  20 61 20 6e 65 77 20 63  6f 6d 70 65 74 69 74 6f  | a new competito|
00000eb0  72 20 69 6e 20 74 68 65  20 6d 61 72 6b 65 74 20  |r in the market |
00000ec0  73 6f 20 74 68 65 20 6d  61 72 6b 65 74 20 70 72  |so the market pr|
00000ed0  69 63 65 20 69 73 20 63  75 74 20 62 79 20 6f 6e  |ice is cut by on|
00000ee0  65 2d 74 68 69 72 64 2e  22 0d 05 aa 15 61 75 3d  |e-third."....au=|
00000ef0  61 75 2a 30 2e 36 36 36  36 3a 61 76 3d 30 0d 05  |au*0.6666:av=0..|
00000f00  b4 05 f8 0d 05 be 98 f1  22 54 68 65 20 67 6f 76  |........"The gov|
00000f10  65 72 6e 6d 65 6e 74 20  68 61 73 20 69 6e 74 72  |ernment has intr|
00000f20  6f 64 75 63 65 64 20 6e  65 77 20 73 61 66 65 74  |oduced new safet|
00000f30  79 20 72 65 67 75 6c 61  74 69 6f 6e 73 20 66 6f  |y regulations fo|
00000f40  72 20 20 74 68 65 20 20  63 6f 6d 70 75 74 65 72  |r  the  computer|
00000f50  20 69 6e 64 75 73 74 72  79 2e 20 43 6f 6d 70 6c  | industry. Compl|
00000f60  79 69 6e 67 20 20 77 69  74 68 20 20 74 68 65 6d  |ying  with  them|
00000f70  20 20 61 64 64 73 20 20  60 31 20 74 6f 20 20 79  |  adds  `1 to  y|
00000f80  6f 75 72 20 6d 61 6e 75  66 61 63 74 75 72 69 6e  |our manufacturin|
00000f90  67 20 63 6f 73 74 73 2e  2e 2e 22 0d 05 c8 10 61  |g costs..."....a|
00000fa0  6c 3d 61 6c 2b 31 3a 61  76 3d 30 0d 05 d2 05 f8  |l=al+1:av=0.....|
00000fb0  0d 05 dc 0d 61 77 3d 6f  2a 30 2e 30 32 0d 05 e6  |....aw=o*0.02...|
00000fc0  79 f1 22 41 20 20 77 61  76 65 20 6f 66 20 69 6e  |y."A  wave of in|
00000fd0  64 75 73 74 72 69 61 6c  20 75 6e 72 65 73 74 20  |dustrial unrest |
00000fe0  73 77 65 65 70 73 20 6f  76 65 72 20 79 6f 75 72  |sweeps over your|
00000ff0  20 66 61 63 74 6f 72 79  2e 2e 2e 20 54 68 65 20  | factory... The |
00001000  20 75 6e 69 6f 6e 73 20  20 76 6f 74 65 20 66 6f  | unions  vote fo|
00001010  72 20 20 61 20 74 6f 74  61 6c 20 20 6c 6f 63 6b  |r  a total  lock|
00001020  6f 75 74 20 20 66 6f 72  20 20 74 77 6f 20 77 65  |out  for  two we|
00001030  65 6b 73 21 22 3b 0d 05  f0 42 e7 61 77 3e 30 20  |eks!";...B.aw>0 |
00001040  8c f1 3b 22 20 49 6e 74  65 72 65 73 74 20 63 68  |..;" Interest ch|
00001050  61 72 67 65 73 20 6f 6e  20 79 6f 75 72 20 6c 6f  |arges on your lo|
00001060  61 6e 20 68 61 76 65 20  62 65 65 6e 20 60 22 3b  |an have been `";|
00001070  61 77 3b 22 2e 22 8b f1  0d 05 fa 1c 6e 3d 6e 2d  |aw;"."......n=n-|
00001080  a8 28 61 77 29 3a 61 76  3d a8 28 61 77 29 3a 71  |.(aw):av=.(aw):q|
00001090  3d 71 2b 32 0d 06 04 05  f8 0d 06 0e 60 f1 22 54  |=q+2........`."T|
000010a0  68 65 72 65 20 68 61 73  20 62 65 65 6e 20 61 20  |here has been a |
000010b0  66 69 72 65 20 69 6e 20  79 6f 75 72 20 77 61 72  |fire in your war|
000010c0  65 68 6f 75 73 65 2e 20  48 61 6c 66 20 79 6f 75  |ehouse. Half you|
000010d0  72 20 20 65 78 69 73 74  69 6e 67 20 20 73 74 6f  |r  existing  sto|
000010e0  63 6b 20 20 68 61 73 20  20 62 65 65 6e 20 64 65  |ck  has  been de|
000010f0  73 74 72 6f 79 65 64 2e  22 0d 06 18 13 61 6b 3d  |stroyed."....ak=|
00001100  a8 28 61 6b 2f 32 29 3a  61 76 3d 30 0d 06 22 05  |.(ak/2):av=0..".|
00001110  f8 0d 06 2c 5d f1 22 59  6f 75 20 20 64 65 63 69  |...,]."You  deci|
00001120  64 65 20 74 6f 20 73 70  65 6e 64 20 60 35 30 30  |de to spend `500|
00001130  30 20 74 6f 20 73 74 72  65 61 6d 6c 69 6e 65 20  |0 to streamline |
00001140  79 6f 75 72 20 61 73 73  65 6d 62 6c 79 20 6c 69  |your assembly li|
00001150  6e 65 73 2e 20 54 68 69  73 20 63 75 74 73 20 20  |nes. This cuts  |
00001160  63 6f 73 74 73 20 62 79  20 31 30 25 2e 22 0d 06  |costs by 10%."..|
00001170  36 14 6e 3d 6e 2d 35 30  30 30 3a 61 76 3d 35 30  |6.n=n-5000:av=50|
00001180  30 30 0d 06 40 10 61 6c  3d a8 28 61 6c 2a 30 2e  |00..@.al=.(al*0.|
00001190  39 29 0d 06 4a 05 f8 0d  06 54 8e f1 22 59 6f 75  |9)..J....T.."You|
000011a0  72 20 20 73 75 70 70 6c  69 65 72 20 67 6f 65 73  |r  supplier goes|
000011b0  20 6f 6e 20 73 74 72 69  6b 65 20 64 69 73 72 75  | on strike disru|
000011c0  70 74 69 6e 67 20 73 75  70 70 6c 69 65 73 20 20  |pting supplies  |
000011d0  6f 66 20 63 69 72 63 75  69 74 73 2e 20 20 59 6f  |of circuits.  Yo|
000011e0  75 20 61 67 72 65 65 20  74 6f 20 70 61 79 20 68  |u agree to pay h|
000011f0  69 67 68 65 72 20 63 6f  73 74 73 20 20 66 6f 72  |igher costs  for|
00001200  20 74 68 65 6d 20 20 73  6f 20 74 68 65 79 20 67  | them  so they g|
00001210  6f 20 75 70 20 69 6e 20  70 72 69 63 65 20 62 79  |o up in price by|
00001220  20 37 25 2e 22 0d 06 5e  16 61 62 3d a8 28 31 2e  | 7%."..^.ab=.(1.|
00001230  30 37 2a 61 62 29 3a 61  76 3d 30 0d 06 68 05 f8  |07*ab):av=0..h..|
00001240  0d 06 72 4c f1 22 49 6d  70 6f 72 74 20 64 75 74  |..rL."Import dut|
00001250  69 65 73 20 6f 6e 20 6b  65 79 62 6f 61 72 64 73  |ies on keyboards|
00001260  20 68 61 76 65 20 62 65  65 6e 20 63 75 74 62 79  | have been cutby|
00001270  20 31 35 25 20 73 6f 20  74 68 65 79 20 6e 6f 77  | 15% so they now|
00001280  20 63 6f 73 74 20 6c 65  73 73 2e 22 0d 06 7c 15  | cost less."..|.|
00001290  61 63 3d a8 28 61 63 2a  2e 38 35 29 3a 61 76 3d  |ac=.(ac*.85):av=|
000012a0  30 0d 06 86 05 f8 0d 06  90 7a f1 22 41 20 74 72  |0........z."A tr|
000012b0  61 63 65 20 20 6f 66 20  63 6f 6e 74 61 6d 69 6e  |ace  of contamin|
000012c0  61 6e 74 20 20 69 73 20  66 6f 75 6e 64 20 69 6e  |ant  is found in|
000012d0  20 74 68 65 20 64 72 69  6e 6b 69 6e 67 20 77 61  | the drinking wa|
000012e0  74 65 72 20 73 75 70 70  6c 69 65 64 20 74 6f 20  |ter supplied to |
000012f0  79 6f 75 72 20 70 6c 61  6e 74 20 73 6f 20 73 74  |your plant so st|
00001300  61 66 66 20 64 65 6d 61  6e 64 20 61 20 60 32 20  |aff demand a `2 |
00001310  27 64 61 6e 67 65 72 27  20 62 6f 6e 75 73 2e 22  |'danger' bonus."|
00001320  0d 06 9a 10 61 70 3d 61  70 2b 32 3a 61 76 3d 30  |....ap=ap+2:av=0|
00001330  0d 06 a4 05 f8 0d 06 ae  a6 e7 20 61 6d 3e 30 20  |.......... am>0 |
00001340  8c 20 f1 22 51 75 61 6c  69 74 79 20 20 63 6f 6e  |. ."Quality  con|
00001350  74 72 6f 6c 20 68 61 73  20 64 69 73 63 6f 76 65  |trol has discove|
00001360  72 65 64 20 74 68 61 74  20 61 6c 6c 20 6f 66 20  |red that all of |
00001370  74 68 69 73 20 77 65 65  6b 27 73 20 70 72 6f 64  |this week's prod|
00001380  75 63 74 69 6f 6e 20 69  73 20 66 61 75 6c 74 79  |uction is faulty|
00001390  2e 20 54 68 65 20 65 6e  74 69 72 65 20 77 65 65  |. The entire wee|
000013a0  6b 27 73 20 70 72 6f 64  75 63 74 69 6f 6e 20 6f  |k's production o|
000013b0  66 20 22 3b 61 6d 3a f1  22 68 61 73 20 74 6f 20  |f ";am:."has to |
000013c0  62 65 20 64 65 73 74 72  6f 79 65 64 22 3a 61 6b  |be destroyed":ak|
000013d0  3d 61 6b 2d 61 6d 3a 61  76 3d 30 0d 06 c2 05 f8  |=ak-am:av=0.....|
000013e0  0d 06 d6 07 dd f2 6c 0d  06 e0 09 71 3d 71 2b 31  |......l....q=q+1|
000013f0  0d 06 ea 08 61 78 3d 30  0d 06 f4 0e 61 75 3d 31  |....ax=0....au=1|
00001400  2e 30 31 2a 61 75 0d 06  fe 05 db 0d 07 08 52 e7  |.01*au........R.|
00001410  61 6b 3d 30 20 8c f1 22  59 6f 75 20 68 61 76 65  |ak=0 .."You have|
00001420  20 6e 6f 20 20 63 6f 6d  70 75 74 65 72 73 20 20  | no  computers  |
00001430  69 6e 20 73 74 6f 63 6b  20 20 73 6f 20 79 6f 75  |in stock  so you|
00001440  20 63 61 6e 6e 6f 74 20  73 65 6c 6c 20 61 6e 79  | cannot sell any|
00001450  21 22 3a 61 79 3d 30 3a  e5 8d 64 78 47 0d 07 12  |!":ay=0:..dxG...|
00001460  29 f1 22 59 6f 75 72 20  63 75 72 72 65 6e 74 20  |)."Your current |
00001470  73 65 6c 6c 69 6e 67 20  70 72 69 63 65 20 69 73  |selling price is|
00001480  20 60 22 3b 61 7a 0d 07  1c 22 f1 22 54 68 65 20  | `";az..."."The |
00001490  6d 61 72 6b 65 74 20 70  72 69 63 65 20 69 73 20  |market price is |
000014a0  60 22 3b a8 28 61 75 29  0d 07 26 07 4d 3d 30 0d  |`";.(au)..&.M=0.|
000014b0  07 30 25 f1 22 45 6e 74  65 72 20 27 43 27 20 74  |.0%."Enter 'C' t|
000014c0  6f 20 63 68 61 6e 67 65  20 74 68 65 20 70 72 69  |o change the pri|
000014d0  63 65 2c 22 0d 07 3a 2a  f1 22 20 20 6f 72 20 20  |ce,"..:*."  or  |
000014e0  27 4d 27 20 74 6f 20 6d  61 69 6e 74 61 69 6e 20  |'M' to maintain |
000014f0  63 75 72 72 65 6e 74 20  70 72 69 63 65 22 0d 07  |current price"..|
00001500  44 08 52 24 3d be 0d 07  4e 2a e7 52 24 3c 3e 22  |D.R$=...N*.R$<>"|
00001510  43 22 80 52 24 3c 3e 22  4d 22 80 52 24 3c 3e 22  |C".R$<>"M".R$<>"|
00001520  63 22 80 52 24 3c 3e 22  6d 22 20 8c 8d 44 44 47  |c".R$<>"m" ..DDG|
00001530  0d 07 58 19 e7 52 24 3d  22 4d 22 84 52 24 3d 22  |..X..R$="M".R$="|
00001540  6d 22 20 8c e5 8d 74 4a  47 0d 07 62 22 e8 22 57  |m" ...tJG..b"."W|
00001550  68 61 74 20 69 73 20 74  68 65 20 6e 65 77 20 70  |hat is the new p|
00001560  72 69 63 65 20 69 6e 20  60 22 4d 0d 07 6c 0e e7  |rice in `"M..l..|
00001570  4d 3c 30 20 8c 8d 44 62  47 0d 07 76 0b 61 7a 3d  |M<0 ..DbG..v.az=|
00001580  a8 28 4d 29 0d 07 8a 10  62 61 3d a8 28 61 6b 2a  |.(M)....ba=.(ak*|
00001590  2e 37 35 29 0d 07 94 1d  62 62 3d a8 28 28 94 28  |.75)....bb=.((.(|
000015a0  61 7a 2d 61 75 29 29 2a  28 b3 28 32 29 2b 31 29  |az-au))*(.(2)+1)|
000015b0  29 0d 07 9e 26 e7 61 7a  3c 61 75 20 8c 62 61 3d  |)...&.az<au .ba=|
000015c0  62 61 2b 62 62 20 8b e7  61 7a 3e 61 75 20 8c 62  |ba+bb ..az>au .b|
000015d0  61 3d 62 61 2d 62 62 0d  07 a8 0f e7 62 61 3c 30  |a=ba-bb.....ba<0|
000015e0  20 8c 62 61 3d 30 0d 07  b2 1b e7 61 7a 3e 61 75  | .ba=0.....az>au|
000015f0  2b 28 b3 28 31 30 29 2b  32 30 29 20 8c 62 61 3d  |+(.(10)+20) .ba=|
00001600  30 0d 07 bc 13 db 3a e7  62 61 3e 61 6b 20 8c 62  |0.....:.ba>ak .b|
00001610  61 3d 61 6b 0d 07 c6 2a  f1 22 59 6f 75 20 73 6f  |a=ak...*."You so|
00001620  6c 64 20 22 3b 62 61 3b  22 20 63 6f 6d 70 75 74  |ld ";ba;" comput|
00001630  65 72 73 20 74 68 69 73  20 77 65 65 6b 22 0d 07  |ers this week"..|
00001640  d0 0c 61 79 3d 62 61 2a  61 7a 0d 07 da 1e f1 22  |..ay=ba*az....."|
00001650  54 68 69 73 20 68 61 73  20 65 61 72 6e 74 20 79  |This has earnt y|
00001660  6f 75 20 60 22 3b 61 79  0d 07 e4 0d 6e 3d a8 28  |ou `";ay....n=.(|
00001670  6e 2b 61 79 29 0d 07 ee  0c 61 6b 3d 61 6b 2d 62  |n+ay)....ak=ak-b|
00001680  61 0d 07 f8 08 f2 76 3a  e1 0d 08 0c 07 dd f2 63  |a.....v:.......c|
00001690  0d 08 16 11 ef 32 36 3a  db 3a 2a 46 58 31 35 2c  |.....26:.:*FX15,|
000016a0  30 0d 08 20 21 ef 31 34  31 2c 31 32 39 3a f1 89  |0.. !.141,129:..|
000016b0  28 31 32 29 22 54 68 65  20 42 75 73 69 6e 65 73  |(12)"The Busines|
000016c0  73 22 0d 08 2a 21 ef 31  34 31 2c 31 32 39 3a f1  |s"..*!.141,129:.|
000016d0  89 28 31 32 29 22 54 68  65 20 42 75 73 69 6e 65  |.(12)"The Busine|
000016e0  73 73 22 0d 08 34 30 e8  27 27 27 27 22 57 68 61  |ss"..40.''''"Wha|
000016f0  74 20 69 73 20 74 68 65  20 6e 61 6d 65 20 6f 66  |t is the name of|
00001700  20 79 6f 75 72 20 63 6f  6d 70 61 6e 79 3f 22 27  | your company?"'|
00001710  61 6f 24 0d 08 3e 2d e7  a9 61 6f 24 3e 33 37 20  |ao$..>-..ao$>37 |
00001720  8c f1 22 59 6f 75 72 20  6e 61 6d 65 20 69 73 20  |.."Your name is |
00001730  74 6f 6f 20 6c 6f 6e 67  21 22 3a e5 8d 54 74 48  |too long!":..TtH|
00001740  0d 08 48 0a 6f 3d 31 30  30 30 0d 08 52 07 71 3d  |..H.o=1000..R.q=|
00001750  31 0d 08 5c 0b 6e 3d 31  30 30 30 30 0d 08 66 08  |1..\.n=10000..f.|
00001760  7a 3d 33 35 0d 08 70 1e  51 3d 30 3a de 41 28 39  |z=35..p.Q=0:.A(9|
00001770  29 3a e3 49 3d 31 20 b8  39 3a 41 28 49 29 3d 30  |):.I=1 .9:A(I)=0|
00001780  3a ed 0d 08 7a 09 61 70  3d 38 36 0d 08 84 08 61  |:...z.ap=86....a|
00001790  66 3d 30 0d 08 8e 09 61  67 3d 36 35 0d 08 98 09  |f=0....ag=65....|
000017a0  61 62 3d 31 35 0d 08 a2  0a 61 68 3d 31 30 30 0d  |ab=15....ah=100.|
000017b0  08 ac 09 61 63 3d 32 30  0d 08 b6 09 61 69 3d 33  |...ac=20....ai=3|
000017c0  35 0d 08 c0 09 61 64 3d  32 35 0d 08 ca 09 61 6c  |5....ad=25....al|
000017d0  3d 31 35 0d 08 d4 08 61  6b 3d 30 0d 08 de 0a 61  |=15....ak=0....a|
000017e0  7a 3d 31 38 30 0d 08 e8  10 61 75 3d a8 28 2e 39  |z=180....au=.(.9|
000017f0  37 2a 61 7a 29 0d 08 f2  05 e1 0d 09 06 07 dd f2  |7*az)...........|
00001800  64 0d 09 10 09 ef 32 36  3a db 0d 09 1a 20 ef 31  |d.....26:.... .1|
00001810  34 31 2c 31 32 39 3a f1  89 28 28 33 38 2d a9 61  |41,129:..((38-.a|
00001820  6f 24 29 2f 32 29 3b 61  6f 24 0d 09 24 20 ef 31  |o$)/2);ao$..$ .1|
00001830  34 31 2c 31 32 39 3a f1  89 28 28 33 38 2d a9 61  |41,129:..((38-.a|
00001840  6f 24 29 2f 32 29 3b 61  6f 24 0d 09 2e 24 ef 31  |o$)/2);ao$...$.1|
00001850  33 30 3a f1 89 28 31 30  29 22 43 6f 6d 70 61 6e  |30:..(10)"Compan|
00001860  79 20 69 6e 66 6f 72 6d  61 74 69 6f 6e 22 0d 09  |y information"..|
00001870  38 14 f1 8a 31 36 29 3b  22 57 65 65 6b 20 3a 22  |8...16);"Week :"|
00001880  3b 71 0d 09 42 2f f1 22  20 20 20 20 4d 6f 6e 65  |;q..B/."    Mone|
00001890  79 20 60 22 3b a8 28 6e  29 3b 8a 32 30 29 3b 22  |y `";.(n);.20);"|
000018a0  42 61 6e 6b 20 4c 6f 61  6e 20 60 22 3b a8 28 6f  |Bank Loan `";.(o|
000018b0  29 0d 09 4c 05 f1 0d 09  56 1d ef 31 33 31 3a f1  |)..L....V..131:.|
000018c0  89 28 31 34 29 22 53 74  6f 63 6b 20 4c 65 76 65  |.(14)"Stock Leve|
000018d0  6c 73 22 0d 09 60 3c f1  22 43 69 72 63 75 69 74  |ls"..`<."Circuit|
000018e0  73 20 3a 22 3b 61 67 3b  8a 31 34 29 3b 22 4b 65  |s :";ag;.14);"Ke|
000018f0  79 62 6f 61 72 64 73 20  3a 22 3b 61 68 3b 8a 32  |yboards :";ah;.2|
00001900  39 29 3b 22 43 61 73 65  73 20 3a 22 3b 61 69 0d  |9);"Cases :";ai.|
00001910  09 6a 09 61 6e 3d 61 69  0d 09 74 1b e7 a8 28 61  |.j.an=ai..t...(a|
00001920  68 2f 32 29 3c 61 6e 20  8c 61 6e 3d a8 28 61 68  |h/2)<an .an=.(ah|
00001930  2f 32 29 0d 09 7e 1b e7  a8 28 61 67 2f 33 29 3c  |/2)..~...(ag/3)<|
00001940  61 6e 20 8c 61 6e 3d a8  28 61 67 2f 33 29 0d 09  |an .an=.(ag/3)..|
00001950  88 13 e7 61 6e 3e 7a 2a  32 20 8c 61 6e 3d 7a 2a  |...an>z*2 .an=z*|
00001960  32 0d 09 92 37 f1 27 22  50 72 6f 64 75 63 74 69  |2...7.'"Producti|
00001970  6f 6e 20 4c 65 76 65 6c  20 3a 22 3b 61 6e 3b 8a  |on Level :";an;.|
00001980  32 32 29 3b 22 49 74 65  6d 73 20 69 6e 20 53 74  |22);"Items in St|
00001990  6f 63 6b 3a 22 3b 61 6b  0d 09 9c 35 f1 22 4e 75  |ock:";ak...5."Nu|
000019a0  6d 62 65 72 20 6f 66 20  53 74 61 66 66 20 20 3a  |mber of Staff  :|
000019b0  22 3b 7a 3b 8a 32 32 29  3b 22 57 61 67 65 20 42  |";z;.22);"Wage B|
000019c0  69 6c 6c 20 60 22 3b 28  61 70 2a 7a 29 0d 09 a6  |ill `";(ap*z)...|
000019d0  05 f1 0d 09 b0 16 ef 31  33 32 3a f1 89 28 31 37  |.......132:..(17|
000019e0  29 3b 22 4d 45 4e 55 22  0d 09 ba 11 f1 89 28 31  |);"MENU"......(1|
000019f0  38 29 3b 22 2d 2d 2d 2d  22 0d 09 c4 1b f1 22 20  |8);"----"....." |
00001a00  20 20 20 20 20 20 31 2e  20 56 69 73 69 74 20 42  |      1. Visit B|
00001a10  61 6e 6b 22 0d 09 ce 24  f1 22 20 20 20 20 20 20  |ank"...$."      |
00001a20  20 32 2e 20 43 68 61 6e  67 65 20 53 74 61 66 66  | 2. Change Staff|
00001a30  20 4c 65 76 65 6c 73 22  0d 09 d8 24 f1 22 20 20  | Levels"...$."  |
00001a40  20 20 20 20 20 33 2e 20  50 75 72 63 68 61 73 65  |     3. Purchase|
00001a50  20 43 6f 6d 70 6f 6e 65  6e 74 73 22 0d 09 e2 2d  | Components"...-|
00001a60  f1 22 20 20 20 20 20 20  20 34 2e 20 4d 61 6e 75  |."       4. Manu|
00001a70  66 61 63 74 75 72 65 20  26 20 53 65 6c 6c 20 43  |facture & Sell C|
00001a80  6f 6d 70 75 74 65 72 73  22 0d 09 ec 12 ef 32 38  |omputers".....28|
00001a90  2c 30 2c 32 34 2c 33 39  2c 32 30 0d 09 f6 05 e1  |,0,24,39,20.....|
00001aa0  0d 0a 00 07 dd a4 66 0d  0a 0a 0c 2a 46 58 20 31  |......f....*FX 1|
00001ab0  35 2c 30 0d 0a 14 08 41  24 3d be 0d 0a 1e 1b e7  |5,0....A$=......|
00001ac0  bb 28 41 24 29 3e 34 84  bb 28 41 24 29 3c 31 20  |.(A$)>4..(A$)<1 |
00001ad0  8c e5 8d 54 4a 4a 0d 0a  28 0a 3d bb 28 41 24 29  |...TJJ..(.=.(A$)|
00001ae0  0d 0a 32 07 dd f2 61 0d  0a 3c 09 ef 32 36 3a db  |..2...a..<..26:.|
00001af0  0d 0a 46 05 f1 0d 0a 50  15 f6 3a f1 3b 22 20 61  |..F....P..:.;" a|
00001b00  74 20 6c 69 6e 65 20 22  3b 9e 0d 0a 5a 05 e0 0d  |t line ";...Z...|
00001b10  0a 64 07 dd f2 76 0d 0a  6e 1f f1 22 50 72 65 73  |.d...v..n.."Pres|
00001b20  73 20 53 50 41 43 45 20  74 6f 20 63 6f 6e 74 69  |s SPACE to conti|
00001b30  6e 75 65 22 3b 0d 0a 78  0b f5 fd be 3d 22 20 22  |nue";..x....=" "|
00001b40  0d 0a 82 05 db 0d 0a 8c  05 e1 0d 0a 96 07 dd f2  |................|
00001b50  6d 0d 0a a0 05 db 0d 0a  aa 2e f1 22 54 68 69 73  |m.........."This|
00001b60  20 77 65 65 6b 20 79 6f  75 72 20 63 6f 73 74 73  | week your costs|
00001b70  20 77 65 72 65 20 60 22  3b a8 28 61 72 2b 61 66  | were `";.(ar+af|
00001b80  2b 61 76 29 0d 0a b4 28  f1 22 54 68 69 73 20 77  |+av)...(."This w|
00001b90  65 65 6b 20 79 6f 75 72  20 72 65 76 65 6e 75 65  |eek your revenue|
00001ba0  20 69 73 20 60 22 3b a8  28 61 79 29 0d 0a be 0c  | is `";.(ay)....|
00001bb0  61 72 3d 61 72 2b 61 66  0d 0a c8 17 62 63 3d a8  |ar=ar+af....bc=.|
00001bc0  28 94 28 61 72 2d 61 79  29 29 3a 61 66 3d 30 0d  |(.(ar-ay)):af=0.|
00001bd0  0a d2 30 e7 61 72 3e 61  79 20 8c f1 27 22 59 6f  |..0.ar>ay ..'"Yo|
00001be0  75 20 6d 61 64 65 20 61  6e 20 6f 76 65 72 61 6c  |u made an overal|
00001bf0  6c 20 6c 6f 73 73 20 6f  66 20 60 22 3b 62 63 0d  |l loss of `";bc.|
00001c00  0a dc 33 e7 61 72 3c 3d  61 79 20 8c f1 27 22 59  |..3.ar<=ay ..'"Y|
00001c10  6f 75 20 6d 61 64 65 20  61 6e 20 6f 76 65 72 61  |ou made an overa|
00001c20  6c 6c 20 70 72 6f 66 69  74 20 6f 66 20 60 22 3b  |ll profit of `";|
00001c30  62 63 0d 0a e6 06 f2 76  0d 0a f0 05 e1 0d 0a fa  |bc.....v........|
00001c40  07 dd f2 62 0d 0b 04 05  db 0d 0b 0e 19 ef 32 33  |...b..........23|
00001c50  2c 31 2c 30 2c 30 2c 30  2c 30 2c 30 2c 30 2c 30  |,1,0,0,0,0,0,0,0|
00001c60  2c 30 0d 0b 18 0b 62 64  3d 33 30 34 30 0d 0b 22  |,0....bd=3040.."|
00001c70  34 f1 8a 30 2c 32 34 29  3b 22 20 20 43 75 72 73  |4..0,24);"  Curs|
00001c80  6f 72 20 6b 65 79 73 20  74 6f 20 73 63 72 6f 6c  |or keys to scrol|
00001c90  6c 20 3a 20 53 50 41 43  45 20 74 6f 20 65 6e 64  |l : SPACE to end|
00001ca0  22 0d 0b 2c 11 ef 32 38  2c 30 2c 32 31 2c 33 39  |"..,..28,0,21,39|
00001cb0  2c 30 0d 0b 36 07 f7 62  64 0d 0b 40 11 e3 62 65  |,0..6..bd..@..be|
00001cc0  3d 62 64 20 b8 62 64 2b  32 30 0d 0b 4a 0f f3 62  |=bd .bd+20..J..b|
00001cd0  66 24 3a 62 67 3d 31 33  34 0d 0b 54 0c ef 62 67  |f$:bg=134..T..bg|
00001ce0  3a f1 62 66 24 0d 0b 5e  05 ed 0d 0b 68 05 f5 0d  |:.bf$..^....h...|
00001cf0  0b 72 09 62 68 3d 62 64  0d 0b 7c 05 f5 0d 0b 86  |.r.bh=bd..|.....|
00001d00  0c e7 a6 2d 39 39 20 8c  e1 0d 0b 90 13 e7 a6 2d  |...-99 ........-|
00001d10  35 38 20 8c 62 64 3d 62  64 2d 31 30 0d 0b 9a 13  |58 .bd=bd-10....|
00001d20  e7 a6 2d 34 32 20 8c 62  64 3d 62 64 2b 31 30 0d  |..-42 .bd=bd+10.|
00001d30  0b a4 0b fd 62 68 3c 3e  62 64 0d 0b ae 1a e7 62  |....bh<>bd.....b|
00001d40  64 3c 33 30 36 30 20 62  64 3d 33 30 36 30 3a e5  |d<3060 bd=3060:.|
00001d50  8d 44 72 4b 0d 0b b8 1a  e7 62 64 3e 33 35 33 30  |.DrK.....bd>3530|
00001d60  20 62 64 3d 33 35 33 30  3a e5 8d 44 72 4b 0d 0b  | bd=3530:..DrK..|
00001d70  c2 2e e7 62 68 3c 62 64  20 8c f7 62 64 2b 31 37  |...bh<bd ..bd+17|
00001d80  30 3a f3 62 66 24 3a 62  67 3d 31 33 34 3a ef 62  |0:.bf$:bg=134:.b|
00001d90  67 3a f1 62 66 24 3a e5  8d 44 72 4b 0d 0b cc 10  |g:.bf$:..DrK....|
00001da0  f1 8a 30 2c 30 29 3b bd  28 31 31 29 0d 0b d6 2d  |..0,0);.(11)...-|
00001db0  f7 62 64 2d 32 30 3a f3  62 66 24 3a 62 67 3d 31  |.bd-20:.bf$:bg=1|
00001dc0  33 34 3a ef 62 67 3a f1  62 66 24 3a f1 8a 30 2c  |34:.bg:.bf$:..0,|
00001dd0  32 30 29 3a e5 8d 44 72  4b 0d 0b e0 2d dc 22 20  |20):..DrK...-." |
00001de0  20 54 68 69 73 20 20 70  72 6f 67 72 61 6d 20 20  | This  program  |
00001df0  69 73 20 20 61 20 20 73  69 6d 75 6c 61 74 69 6f  |is  a  simulatio|
00001e00  6e 20 20 6f 66 22 0d 0b  ea 2d dc 22 72 75 6e 6e  |n  of"...-."runn|
00001e10  69 6e 67 20 20 20 20 61  20 20 20 20 73 6d 61 6c  |ing    a    smal|
00001e20  6c 20 20 20 20 66 69 72  6d 20 20 20 6d 61 6b 69  |l    firm   maki|
00001e30  6e 67 22 0d 0b f4 2d dc  22 63 6f 6d 70 75 74 65  |ng"...-."compute|
00001e40  72 73 2e 20 20 59 6f 75  20 20 61 72 65 20 20 69  |rs.  You  are  i|
00001e50  6e 20 20 64 65 62 74 20  61 6e 64 20 6f 77 65 22  |n  debt and owe"|
00001e60  0d 0b fe 2d dc 22 79 6f  75 72 20 20 73 75 70 70  |...-."your  supp|
00001e70  6c 69 65 72 73 20 20 60  35 30 2c 30 30 30 20 77  |liers  `50,000 w|
00001e80  68 69 63 68 20 6d 75 73  74 20 62 65 22 0d 0c 08  |hich must be"...|
00001e90  1a dc 22 72 65 70 61 69  64 20 69 6e 20 33 30 20  |.."repaid in 30 |
00001ea0  77 65 65 6b 73 2e 22 0d  0c 12 2d dc 22 20 20 59  |weeks."...-."  Y|
00001eb0  6f 75 2c 20 20 61 73 20  68 65 61 64 20 6f 66 20  |ou,  as head of |
00001ec0  74 68 65 20 20 66 69 72  6d 2c 20 20 63 6f 6e 74  |the  firm,  cont|
00001ed0  72 6f 6c 22 0d 0c 1c 2d  dc 22 69 74 73 20 66 75  |rol"...-."its fu|
00001ee0  74 75 72 65 2e 20 20 59  6f 75 20 20 62 75 79 20  |ture.  You  buy |
00001ef0  63 6f 6d 70 6f 6e 65 6e  74 73 2c 20 68 69 72 65  |components, hire|
00001f00  22 0d 0c 26 2d dc 22 6f  72 20 20 66 69 72 65 20  |"..&-."or  fire |
00001f10  20 73 74 61 66 66 20 20  61 6e 64 20 20 20 64 65  | staff  and   de|
00001f20  63 69 64 65 20 20 6f 6e  20 20 74 68 65 22 0d 0c  |cide  on  the"..|
00001f30  30 2d dc 22 73 65 6c 6c  69 6e 67 20 70 72 69 63  |0-."selling pric|
00001f40  65 20 6f 66 20 74 68 65  20 66 69 6e 69 73 68 65  |e of the finishe|
00001f50  64 20 70 72 6f 64 75 63  74 2e 22 0d 0c 3a 2d dc  |d product."..:-.|
00001f60  22 54 68 65 20 20 67 61  6d 65 20 20 69 73 20 75  |"The  game  is u|
00001f70  73 65 72 2d 66 72 69 65  6e 64 6c 79 2c 20 70 72  |ser-friendly, pr|
00001f80  6f 6d 70 74 69 6e 67 22  0d 0c 44 2a dc 22 79 6f  |ompting"..D*."yo|
00001f90  75 20 66 6f 72 20 79 6f  75 72 20 61 63 74 69 6f  |u for your actio|
00001fa0  6e 20 61 74 20 65 76 65  72 79 20 73 74 61 67 65  |n at every stage|
00001fb0  2e 22 0d 0c 4e 2d dc 22  20 20 57 68 65 6e 20 20  |."..N-."  When  |
00001fc0  20 79 6f 75 20 20 20 66  69 6e 69 73 68 20 20 20  | you   finish   |
00001fd0  72 65 61 64 69 6e 67 20  20 74 68 65 73 65 22 0d  |reading  these".|
00001fe0  0c 58 2d dc 22 69 6e 73  74 72 75 63 74 69 6f 6e  |.X-."instruction|
00001ff0  73 20 20 79 6f 75 20 20  61 72 65 20 20 70 72 65  |s  you  are  pre|
00002000  73 65 6e 74 65 64 20 77  69 74 68 22 0d 0c 62 2d  |sented with"..b-|
00002010  dc 22 74 68 65 20 69 6e  66 6f 72 6d 61 74 69 6f  |."the informatio|
00002020  6e 20 66 6f 72 20 74 68  65 20 66 69 72 6d 2e 20  |n for the firm. |
00002030  59 6f 75 20 77 69 6c 6c  22 0d 0c 6c 2d dc 22 73  |You will"..l-."s|
00002040  65 65 20 20 74 68 61 74  20 20 79 6f 75 20 68 61  |ee  that  you ha|
00002050  76 65 20 20 61 20 20 62  61 6e 6b 20 20 6c 6f 61  |ve  a  bank  loa|
00002060  6e 20 20 6f 66 22 0d 0c  76 2d dc 22 60 31 30 30  |n  of"..v-."`100|
00002070  30 2c 20 68 61 76 65 20  65 6e 6f 75 67 68 20 63  |0, have enough c|
00002080  6f 6d 70 6f 6e 65 6e 74  73 20 69 6e 20 73 74 6f  |omponents in sto|
00002090  63 6b 22 0d 0c 80 2d dc  22 74 6f 20 6d 61 6b 65  |ck"...-."to make|
000020a0  20 73 6f 6d 65 20 20 63  6f 6d 70 75 74 65 72 73  | some  computers|
000020b0  20 20 61 6e 64 20 74 68  65 20 73 74 61 66 66 22  |  and the staff"|
000020c0  0d 0c 8a 2d dc 22 6c 65  76 65 6c 2c 20 20 20 77  |...-."level,   w|
000020d0  61 67 65 20 20 20 62 69  6c 6c 20 20 20 61 6e 64  |age   bill   and|
000020e0  20 20 6e 75 6d 62 65 72  20 20 6f 66 22 0d 0c 94  |  number  of"...|
000020f0  2d dc 22 63 6f 6d 70 75  74 65 72 73 20 20 69 6e  |-."computers  in|
00002100  20 20 73 74 6f 63 6b 2e  20 41 74 20 74 68 65 20  |  stock. At the |
00002110  62 6f 74 74 6f 6d 20 6f  66 22 0d 0c 9e 24 dc 22  |bottom of"...$."|
00002120  74 68 65 20 64 69 73 70  6c 61 79 20 74 68 65 72  |the display ther|
00002130  65 20 69 73 20 61 20 6d  65 6e 75 2e 20 22 0d 0c  |e is a menu. "..|
00002140  a8 07 dc 22 22 0d 0c b2  26 dc 22 20 20 20 20 20  |...""...&."     |
00002150  20 20 43 68 6f 69 63 65  20 4f 6e 65 20 3a 20 56  |  Choice One : V|
00002160  69 73 69 74 20 42 61 6e  6b 2e 22 0d 0c bc 2d dc  |isit Bank."...-.|
00002170  22 20 20 59 6f 75 20 63  61 6e 20 65 69 74 68 65  |"  You can eithe|
00002180  72 20 72 65 70 61 79 20  6d 6f 6e 65 79 20 20 74  |r repay money  t|
00002190  68 61 74 20 79 6f 75 22  0d 0c c6 2d dc 22 6f 77  |hat you"...-."ow|
000021a0  65 20 6f 72 20 74 61 6b  65 20 6f 75 74 20 61 20  |e or take out a |
000021b0  62 69 67 67 65 72 20 20  6c 6f 61 6e 2e 20 20 54  |bigger  loan.  T|
000021c0  68 65 72 65 22 0d 0c d0  2d dc 22 69 73 20 20 61  |here"...-."is  a|
000021d0  20 20 6d 61 78 69 6d 75  6d 20 74 68 61 74 20 74  |  maximum that t|
000021e0  68 65 20 62 61 6e 6b 20  77 69 6c 6c 20 6c 65 6e  |he bank will len|
000021f0  64 22 0d 0c da 2d dc 22  79 6f 75 2e 20 20 41 20  |d"...-."you.  A |
00002200  20 62 61 6e 6b 20 20 20  6c 6f 61 6e 20 20 64 6f  | bank   loan  do|
00002210  65 73 20 20 6e 6f 74 20  20 63 6f 75 6e 74 22 0d  |es  not  count".|
00002220  0c e4 2d dc 22 74 6f 77  61 72 64 73 20 74 68 65  |..-."towards the|
00002230  20 60 35 30 2c 30 30 30  2e 20 20 59 6f 75 20 20  | `50,000.  You  |
00002240  61 72 65 20 63 68 61 72  67 65 64 22 0d 0c ee 2d  |are charged"...-|
00002250  dc 22 69 6e 74 65 72 65  73 74 20 6f 66 20 31 25  |."interest of 1%|
00002260  20 61 20 77 65 65 6b 20  20 6f 6e 20 61 6e 79 20  | a week  on any |
00002270  6c 6f 61 6e 20 79 6f 75  22 0d 0c f8 0c dc 22 68  |loan you"....."h|
00002280  61 76 65 2e 22 0d 0d 02  07 dc 22 22 0d 0d 0c 2b  |ave.".....""...+|
00002290  dc 22 20 20 20 20 43 68  6f 69 63 65 20 54 77 6f  |."    Choice Two|
000022a0  20 3a 20 43 68 61 6e 67  65 20 73 74 61 66 66 20  | : Change staff |
000022b0  6c 65 76 65 6c 73 22 0d  0d 16 2d dc 22 20 20 54  |levels"...-."  T|
000022c0  68 69 73 20 6f 70 74 69  6f 6e 20 61 6c 6c 6f 77  |his option allow|
000022d0  73 20 79 6f 75 20 74 6f  20 63 68 61 6e 67 65 20  |s you to change |
000022e0  74 68 65 22 0d 0d 20 2d  dc 22 6e 75 6d 62 65 72  |the".. -."number|
000022f0  20 20 20 6f 66 20 20 73  74 61 66 66 20 20 79 6f  |   of  staff  yo|
00002300  75 20 20 65 6d 70 6c 6f  79 2e 20 20 45 61 63 68  |u  employ.  Each|
00002310  22 0d 0d 2a 2d dc 22 70  65 72 73 6f 6e 20 20 63  |"..*-."person  c|
00002320  61 6e 20 20 6d 61 6b 65  20 20 61 20 20 6d 61 78  |an  make  a  max|
00002330  69 6d 75 6d 20 20 6f 66  20 20 74 77 6f 22 0d 0d  |imum  of  two"..|
00002340  34 2d dc 22 63 6f 6d 70  75 74 65 72 73 20 20 61  |4-."computers  a|
00002350  20 20 77 65 65 6b 2e 20  54 68 65 20 6d 6f 72 65  |  week. The more|
00002360  20 73 74 61 66 66 20 79  6f 75 22 0d 0d 3e 2d dc  | staff you"..>-.|
00002370  22 68 61 76 65 20 74 68  65 20 6d 6f 72 65 20 20  |"have the more  |
00002380  79 6f 75 20 63 61 6e 20  70 72 6f 64 75 63 65 20  |you can produce |
00002390  62 75 74 20 74 68 65 22  0d 0d 48 1e dc 22 67 72  |but the"..H.."gr|
000023a0  65 61 74 65 72 20 79 6f  75 72 20 77 61 67 65 20  |eater your wage |
000023b0  62 69 6c 6c 2e 22 0d 0d  52 07 dc 22 22 0d 0d 5c  |bill."..R..""..\|
000023c0  29 dc 22 20 20 20 20 20  43 68 6f 69 63 65 20 54  |)."     Choice T|
000023d0  68 72 65 65 20 3a 20 42  75 79 20 63 6f 6d 70 6f  |hree : Buy compo|
000023e0  6e 65 6e 74 73 22 0d 0d  66 2d dc 22 20 20 54 68  |nents"..f-."  Th|
000023f0  69 73 20 20 6f 70 74 69  6f 6e 20 61 6c 6c 6f 77  |is  option allow|
00002400  73 20 79 6f 75 20 74 6f  20 62 75 79 20 20 6d 6f  |s you to buy  mo|
00002410  72 65 22 0d 0d 70 2d dc  22 72 61 77 20 6d 61 74  |re"..p-."raw mat|
00002420  65 72 69 61 6c 73 20 20  74 6f 20 6d 61 6b 65 20  |erials  to make |
00002430  6d 6f 72 65 20 63 6f 6d  70 75 74 65 72 73 2e 22  |more computers."|
00002440  0d 0d 7a 2d dc 22 45 61  63 68 20 20 63 6f 6d 70  |..z-."Each  comp|
00002450  75 74 65 72 20 20 6e 65  65 64 73 20 20 20 74 68  |uter  needs   th|
00002460  72 65 65 20 20 63 69 72  63 75 69 74 22 0d 0d 84  |ree  circuit"...|
00002470  2d dc 22 62 6f 61 72 64  73 2c 20 74 77 6f 20 6b  |-."boards, two k|
00002480  65 79 62 6f 61 72 64 73  20 20 61 6e 64 20 20 6f  |eyboards  and  o|
00002490  6e 65 20 20 63 61 73 65  2e 22 0d 0d 8e 2d dc 22  |ne  case."...-."|
000024a0  59 6f 75 20 20 68 61 76  65 20 20 74 6f 20 20 72  |You  have  to  r|
000024b0  65 66 6c 65 63 74 20 74  68 65 73 65 20 72 61 74  |eflect these rat|
000024c0  69 6f 73 20 69 6e 22 0d  0d 98 19 dc 22 79 6f 75  |ios in"....."you|
000024d0  72 20 73 74 6f 63 6b 20  6c 65 76 65 6c 73 2e 22  |r stock levels."|
000024e0  0d 0d a2 07 dc 22 22 0d  0d ac 2b dc 22 20 20 43  |.....""...+."  C|
000024f0  68 6f 69 63 65 20 46 6f  75 72 20 3a 20 4d 61 6e  |hoice Four : Man|
00002500  75 66 61 63 74 75 72 65  20 61 6e 64 20 73 65 6c  |ufacture and sel|
00002510  6c 22 0d 0d b6 2d dc 22  20 20 54 68 69 73 20 20  |l"...-."  This  |
00002520  6f 70 74 69 6f 6e 20 20  69 73 20 75 73 65 64 20  |option  is used |
00002530  77 68 65 6e 20 20 79 6f  75 20 20 61 72 65 22 0d  |when  you  are".|
00002540  0d c0 2d dc 22 73 61 74  69 73 66 69 65 64 20 77  |..-."satisfied w|
00002550  69 74 68 20 74 68 65 20  73 74 61 66 66 20 61 6e  |ith the staff an|
00002560  64 20 63 6f 6d 70 6f 6e  65 6e 74 22 0d 0d ca 2d  |d component"...-|
00002570  dc 22 6c 65 76 65 6c 73  2e 20 20 20 59 6f 75 20  |."levels.   You |
00002580  20 20 61 72 65 20 20 20  74 6f 6c 64 20 20 20 68  |  are   told   h|
00002590  6f 77 20 20 6d 61 6e 79  22 0d 0d d4 2d dc 22 63  |ow  many"...-."c|
000025a0  6f 6d 70 75 74 65 72 73  20 79 6f 75 20 6d 61 64  |omputers you mad|
000025b0  65 20 74 68 61 74 20 20  77 65 65 6b 20 61 6e 64  |e that  week and|
000025c0  20 77 68 61 74 22 0d 0d  de 2d dc 22 79 6f 75 72  | what"...-."your|
000025d0  20 74 6f 74 61 6c 20 63  6f 73 74 73 20 77 65 72  | total costs wer|
000025e0  65 2e 20 20 59 6f 75 20  20 61 72 65 20 20 74 68  |e.  You  are  th|
000025f0  65 6e 22 0d 0d e8 2d dc  22 73 68 6f 77 6e 20 20  |en"...-."shown  |
00002600  20 74 68 65 20 20 20 27  6d 61 72 6b 65 74 20 20  | the   'market  |
00002610  70 72 69 63 65 27 20 20  66 6f 72 20 74 68 65 22  |price'  for the"|
00002620  0d 0d f2 2d dc 22 63 6f  6d 70 75 74 65 72 73 2e  |...-."computers.|
00002630  20 54 68 69 73 20 69 73  20 74 68 65 20 61 76 65  | This is the ave|
00002640  72 61 67 65 20 73 65 6c  6c 69 6e 67 22 0d 0d fc  |rage selling"...|
00002650  2d dc 22 70 72 69 63 65  20 66 6f 72 20 61 6c 6c  |-."price for all|
00002660  20 74 68 65 20 20 63 6f  6d 70 75 74 65 72 73 20  | the  computers |
00002670  20 69 6e 20 20 74 68 61  74 22 0d 0e 06 2d dc 22  | in  that"...-."|
00002680  61 72 65 61 20 6f 66 20  74 68 65 20 6d 61 72 6b  |area of the mark|
00002690  65 74 2e 20 20 49 66 20  20 79 6f 75 72 20 20 73  |et.  If  your  s|
000026a0  65 6c 6c 69 6e 67 22 0d  0e 10 2d dc 22 70 72 69  |elling"...-."pri|
000026b0  63 65 20 69 73 20 68 69  67 68 65 72 20 74 68 61  |ce is higher tha|
000026c0  6e 20 74 68 65 20 6d 61  72 6b 65 74 20 20 70 72  |n the market  pr|
000026d0  69 63 65 22 0d 0e 1a 2d  dc 22 79 6f 75 20 73 65  |ice"...-."you se|
000026e0  6c 6c 20 66 65 77 20 63  6f 6d 70 75 74 65 72 73  |ll few computers|
000026f0  3b 20 69 66 20 69 74 20  69 73 20 6c 6f 77 65 72  |; if it is lower|
00002700  22 0d 0e 24 2d dc 22 79  6f 75 20 73 65 6c 6c 20  |"..$-."you sell |
00002710  6c 6f 74 73 2e 20 41 74  20 74 68 65 20 65 6e 64  |lots. At the end|
00002720  20 6f 66 20 74 68 69 73  20 20 79 6f 75 22 0d 0e  | of this  you"..|
00002730  2e 2d dc 22 61 72 65 20  73 68 6f 77 6e 20 79 6f  |.-."are shown yo|
00002740  75 72 20 66 69 6e 61 6e  63 65 73 20 6f 76 65 72  |ur finances over|
00002750  20 20 74 68 65 20 77 65  65 6b 22 0d 0e 38 2a dc  |  the week"..8*.|
00002760  22 61 6e 64 20 69 66 20  79 6f 75 20 6d 61 64 65  |"and if you made|
00002770  20 61 20 70 72 6f 66 69  74 20 6f 72 20 61 20 6c  | a profit or a l|
00002780  6f 73 73 2e 22 0d 0e 42  07 dc 22 22 0d 0e 4c 2d  |oss."..B..""..L-|
00002790  dc 22 20 20 54 68 65 20  67 61 6d 65 20 65 6e 64  |."  The game end|
000027a0  73 20 65 69 74 68 65 72  20 77 68 65 6e 20 20 79  |s either when  y|
000027b0  6f 75 20 20 6d 61 6b 65  22 0d 0e 56 2d dc 22 74  |ou  make"..V-."t|
000027c0  68 65 20 20 60 35 30 2c  30 30 30 20 20 6f 72 20  |he  `50,000  or |
000027d0  77 68 65 6e 20 74 68 65  20 33 30 20 77 65 65 6b  |when the 30 week|
000027e0  73 20 61 72 65 22 0d 0e  60 24 dc 22 75 70 20 6f  |s are"..`$."up o|
000027f0  72 20 69 66 20 79 6f 75  20 62 65 63 6f 6d 65 20  |r if you become |
00002800  62 61 6e 6b 72 75 70 74  2e 22 0d 0e 6a 07 dc 22  |bankrupt."..j.."|
00002810  22 0d 0e 74 28 dc 22 20  20 20 20 50 72 6f 67 72  |"..t(."    Progr|
00002820  61 6d 20 28 43 29 20 50  65 74 65 72 20 41 72 6e  |am (C) Peter Arn|
00002830  6f 6c 64 20 31 39 38 38  22 0d ff                 |old 1988"..|
0000283b
04-02-89/Bisness.m0
04-02-89/Bisness.m1
04-02-89/Bisness.m2
04-02-89/Bisness.m4
04-02-89/Bisness.m5