Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_32.ADF » P/R/PAGE7
P/R/PAGE7
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 » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_32.ADF |
Filename: | P/R/PAGE7 |
Read OK: | ✔ |
File size: | 1F12 bytes |
Load address: | FFFF1D00 |
Exec address: | FFFF8023 |
File contents
10REM BTEC Project "PAGE7" v.1.3 20*FX200,1 30*CLOSE 40*DIR MORNING 50DIMnum(40),rname$(40),init$(40),sname$(40),title$(40),telno(40),or1$(40),or2$(40),or3$(40),round(40),todaysbill(40),outstanding(40) 60PROCmainwindow:CLS:PRINTFNc("""PAY PAPERS"" UTILITY") 70singlesearch=0:a=0:A=0:page%=0:valid=0:upto=1:const=2 80PRINT''''FNc("In order to use this utility, it") 90PRINT'FNc("is first necessary to locate the") 100PRINT'FNc("customer's information. To do so") 110PRINT'FNc("input the customer's name or address") 120PRINT'FNc("when required.") 130VDU23;8202;0;0;0; 140PROCcomwindow 150PRINT''''''"A : Search By Knowing ADDRESS"'"B : Search By Knowing SURNAME"'"Q : Quit Back To Main Menu"; 160*CLOSE 170S=GET:IFS=66GOTO210 180IFS=65GOTO850 190IFS=81GOTO1800 200GOTO170 210PRINT''''''"A : Search A Particular Round"'"B : Search All Rounds And Unpaid List"'"C : Search Unpaid List"; 220F=GET: 230IFF=65GOTO270 240IFF=66 THEN singlesearch=0:GOTO330 250IFF=67 THEN S$="UNPAID":file$="UNPAID":valid=1:singlesearch=1:GOTO330 260GOTO220 270PRINT'''''''"Which round "':INPUTTAB(12,1);S$ 280IF S$="1" OR S$="2" OR S$="3" OR S$="4" OR S$="5" OR S$="6" THEN file$="ROUND"+S$:valid=1 290IF S$="U" THEN file$="UNPAID" 300IF LEN(S$)>7 valid=0:VDU7 310IF S$="ROUND1" OR S$="ROUND2" OR S$="ROUND3" OR S$="ROUND4" OR S$="ROUND5" OR S$="ROUND6" OR S$="UNPAID" THEN file$=S$:valid=1 320IFvalid=0GOTO270 ELSE singlesearch=1 330PRINT'''''''"Enter customer's surname "':INPUTTAB(25,1);search$ 340PROCsearchround 350PROCdisplaydata 360PROCcomwindow:PRINT'''''' 370IF count=2 PRINTFNc("Press Space To Display Details")':REPEATUNTILGET=32:N=1:GOTO410 380IF count>2 PRINT'''''"Input corresponding above number"':INPUTTAB(33,1);N:GOTO400 390PRINTFNc("Press Space")':REPEATUNTILGET=32:GOTO60 400IFN>count-1 VDU7:GOTO380 410PROCthedisplay 420GOTO60 430 440DEFPROCsearchround 450PRINT'''''FNc("Starting Search")' 460VDU28,1,24,38,3:CLS:PROCcomwindow 470count=1:a=0:IFsinglesearch=1 a=VAL(RIGHT$(file$,1)):GOTO560 480FOR a=1 TO 7 490IFa=1 file$=("ROUND1") 500IFa=2 file$=("ROUND2") 510IFa=3 file$=("ROUND3") 520IFa=4 file$=("ROUND4") 530IFa=5 file$=("ROUND5") 540IFa=6 file$=("ROUND6") 550IFa=7 file$=("UNPAID") 560PROCmainwindow:PRINTTAB(0,a+4)"Searching ";file$:PROCcomwindow 570theround=OPENIN(file$) 580REPEAT 590INPUT#theround,num(count),rname$(count),init$(count),sname$(count),title$(count),telno(count),or1$(count),or2$(count),or3$(count),todaysbill(count),outstanding(count) 600IF LEFT$(sname$(count),LEN(search$)) = search$ THEN PRINT''''''FNc("Search element located.")'FNc("Continuing Search"):round(count)=a:count=count+1 610UNTIL EOF#theround 620CLOSE #theround 630IFsinglesearch=1ENDPROC 640NEXTa 650ENDPROC 660DEFPROCdisplaydata 670PROCmainwindow:CLS:PRINTFNc("RESULTS OF SEARCH") 680IFcount-1=0PRINT'"Search unsuccessful.":GOTO1150 690PRINT'"A total of ";count-1;" customers with"'"surname ";search$;" were found." 700FORA=1TO(count-1) 710PRINTTAB(0,A+5)" ";A;": ";sname$(A) 720PRINTTAB(13,A+5)" ";init$(A);". " 730PRINTTAB(17,A+5);num(A) 740PRINTTAB(20,A+5)" ";rname$(A) 750PRINTTAB(36,A+5);round(A) 760NEXT 770ENDPROC 780DEFPROCmainwindow 790VDU28,1,24,38,1 800ENDPROC 810DEFPROCcomwindow 820VDU28,1,30,38,27 830ENDPROC 840DEFFNc(C$):PRINTTAB(19-LENC$/2);:=C$ 850PRINT''''''"A : Search A Particular Round"'"B : Search All Rounds And Unpaid List"'"C : Search Unpaid List"; 860 F=GET:IFF=65GOTO900 870IFF=66 THEN singlesearch=0:GOTO950 880IFF=67 THEN S$="UNPAID":file$="UNPAID":valid=1:singlesearch=1:GOTO950 890GOTO860 900PRINT'''''''"Which round "':INPUTTAB(12,1);S$ 910IF S$="1" OR S$="2" OR S$="3" OR S$="4" OR S$="5" OR S$="6" OR S$="7" OR S$="8" THEN file$="ROUND"+S$:valid=1 920IF LEN(S$)>7 valid=0:VDU7 930IF S$="ROUND1" OR S$="ROUND2" OR S$="ROUND3" OR S$="ROUND4" OR S$="ROUND5" OR S$="ROUND6" OR S$="ROUND7" OR S$="ROUND8" THEN file$=S$:valid=1 940IFvalid=0GOTO900 ELSE singlesearch=1 950PRINT'''''''"Enter customer's address :"''"Road number ?"'"Road name ?";:INPUTTAB(15,2);tarnum 960INPUTTAB(15,3);sea$ 970PRINT'''''FNc("Starting Search")' 980 990VDU28,1,24,38,3:CLS:PROCcomwindow:count=1:IFsinglesearch=1 THEN a=VAL(RIGHT$(file$,1)):GOTO1070 1000FOR a=1 TO 7:IFa=1 file$=("ROUND1") 1010IFa=2 file$=("ROUND2") 1020IFa=3 file$=("ROUND3") 1030IFa=4 file$=("ROUND4") 1040IFa=5 file$=("ROUND5") 1050IFa=6 file$=("ROUND6") 1060IFa=7 file$=("UNPAID") 1070PROCmainwindow:PRINTTAB(0,a+4)"Searching ";file$:PROCcomwindow:theround=OPENIN(file$):REPEAT 1080INPUT#theround,num(count),rname$(count),init$(count),sname$(count),title$(count),telno(count),or1$(count),or2$(count),or3$(count),todaysbill(count),outstanding(count) 1090IF num(count)=tarnum AND rname$(count)=sea$ THEN round(count)=a:PRINT''''''FNc("Search element located.")':count=count+1:GOTO1140 1100UNTIL EOF#theround 1110CLOSE #theround 1120IFsinglesearch=1GOTO1140 1130NEXTa 1140search$=sname$(1):GOTO350 1150 1160ENDPROC 1170DEFPROCthedisplay 1180PROCmainwindow:CLS 1190PRINTFNc("DETAILS OF SEARCH ITEM")'' 1200PRINT'"Title :" 1210PRINT'"Surname :" 1220PRINT'"Address :" 1230PRINT'''''"Tel. No. :" 1240PRINT''"Paper(s) ordered :" 1250PRINT'''''"Bill outstanding :"; 1260PRINTTAB(16,4);title$(N);" ";init$(N) 1270PRINTTAB(16,6);sname$(N) 1280PRINTTAB(16,8);num(N);", ";rname$(N) 1290PRINTTAB(16,10)"REDCAR"TAB(16,12)"CLEVELAND"TAB(16,14);"(01642) ";telno(N) 1300PRINTTAB(19,17);or1$(N);TAB(19,19);or2$(N);TAB(19,21);or3$(N) 1310IFoutstanding(N)=0 THEN PRINTTAB(19,23);"`0.00";:GOTO1330 1320PRINTTAB(19,23);"`";outstanding(N);:IF((outstanding(N) * 100)+1) MOD 10 = 0 PRINT"0"; 1330PROCcomwindow 1340previous=outstanding(N) 1350IFoutstanding(N)=0 THEN PRINT''''''FNc("Customer does not owe anything!")':A$=INKEY$(225):PROCend:GOTO1740 1360PRINT'''''''''FNc("Is This Bill Being Paid?")'FNc("(Y/N)") 1370G=GET 1380IFG=89THENGOTO1400 1390PROCend:GOTO1740 1400PRINT''''''FNc("Please Confirm This Decision Again")'FNc("(Y/N)") 1410A=GET:IF A=89 THEN GOTO 1430 1420PROCend:GOTO1740 1430PRINT''''''FNc("Customer's bill is being settled.")' 1440b=round(N) 1450IFb=1 file$=("ROUND1") 1460IFb=2 file$=("ROUND2") 1470IFb=3 file$=("ROUND3") 1480IFb=4 file$=("ROUND4") 1490IFb=5 file$=("ROUND5") 1500IFb=6 file$=("ROUND6") 1510IFb=7 file$=("UNPAID") 1520title$(0)=title$(N):init$(0)=init$(N):sname$(0)=sname$(N):num(0)=num(N):rname$(0)=rname$(N):telno(0)=telno(N):or1$(0)=or1$(N):or2$(0)=or2$(N):or3$(0)=or3$(N) 1530*CLOSE 1540theround=OPENIN(file$) 1550count=0 1560REPEAT 1570count=count+1 1580INPUT#theround,num(count),rname$(count),init$(count),sname$(count),title$(count),telno(count),or1$(count),or2$(count),or3$(count),todaysbill(count),outstanding(count) 1590UNTIL EOF#theround OR count=39 1600CLOSE #theround 1610FORt=1TOcount 1620IF init$(0)=init$(t) AND sname$(0)=sname$(t) AND num(0)=num(t) THEN tochange=t 1630NEXTt 1640outstanding(tochange)=0 1650PROCmainwindow:PRINTTAB(19,23)SPC(10);:A$=INKEY$(20):PRINTTAB(19,23);"`0.00"; 1660PROCcomwindow:PRINT''''''FNc("Please wait")' 1670*CLOSE 1680new_amount_round=OPENOUT(file$) 1690FORs=1 TO count 1700PRINT#new_amount_round,num(s),rname$(s),init$(s),sname$(s),title$(s),telno(s),or1$(s),or2$(s),or3$(s),todaysbill(s),outstanding(s) 1710NEXT s 1720CLOSE#new_amount_round 1730PRINT''FNc("Transaction Completed")':A$=INKEY$(225):PRINT'''''FNc("Print A Receipt?")'FNc("(Y/N)"):PROCreceipt 1740ENDPROC 1750 1760DEFPROCend:*CLOSE 1770PRINT''''"P : Pay More Papers"'"Q : Return To Main Menu" 1780I=GET:IFI=81 THEN GOTO 1800 1790GOTO1840 1800PRINT''''FNc("Loading Main Menu")' 1810*DIR 1820CHAIN"MENU" 1830END 1840ENDPROC 1850 1860DEFPROCreceipt 1870D=GET:IFD=89COLOUR0:GOTO1880 ELSE ENDPROC 1880REM ** ** 1890REM ** This part contains the ** 1900REM ** PRINTER CONTROL CODES! ** 1910REM ** ** 1920ONERRORCOLOUR7:GOTO2280 1930*FX200,0 1940VDU2:REM * Open Printer * 1950*FX5,1 1960*FX6,1 1970PRINT 1980VDU1,27,1,70:REM* Clear Defaults * 1990VDU1,18:REM * Medium CHR$ * 2000VDU1,27,1,84:REM* Cancel Script * 2010VDU 1,14:PRINT" LABURNUM NEWS" 2020PRINT'" RECEIPT FOR PAYMENT OF PAPER BILL IN FULL" 2030VDU1,27,1,83,1,1 2031VDU1,27,1,82,1,3 2040VDU1,15 2050PRINT''"Receipt Made Out To : "; 2060VDU1,18 2070VDU1,27,1,84 2080VDU1,14:REM * Enlarge CHR$ * 2090VDU1,27,1,69:REM * BOLD Print * 2100PRINTtitle$(0);" ";init$(0);" ";sname$(0) 2110VDU1,14 2120PRINTSPC(13);num(0);" ";rname$(0);" ROAD" 2130VDU1,27,1,70 2140PRINT 2150VDU1,27,1,83,1,3 2160PRINT'"We Acknowledge The Sum Of : "; 2170VDU1,14 2180VDU1,27,1,69 2190VDU1,27,1,84 2200PRINT"#";previous 2210PRINT''"SIGNED ________________________ TODAY'S DATE _____ _____ _____" 2220VDU1,12 2230VDU1,12 2240VDU3 2250*FX200,1 2260COLOUR7:PRINT'''FNc("Receipt Printed")'FNc("Remember To Sign And Date It!"):A$=INKEY$(700):ENDPROC 2270 2280VDU3 2290VDU7:PROCmainwindow:CLS:PRINTFNc("ERROR!")'''FNc("User interrupt detected.")'''''FNc("Printing Abandoned.")'' 2300PRINT''FNc("Receipt Utility MUST be connected")''FNc("correctly to printer during")''FNc("printing tasks.") 2310PROCcomwindow:PRINT'''''''"Unable to generate this receipt."'"The customer paid a bill of `";previous;"."'"Make a note of this number then press"'"SPACE to return to main menu.";:Y=GET 2320GOTO1800
� BTEC Project "PAGE7" v.1.3 *FX200,1 *CLOSE (*DIR MORNING 2��num(40),rname$(40),init$(40),sname$(40),title$(40),telno(40),or1$(40),or2$(40),or3$(40),round(40),todaysbill(40),outstanding(40) </�mainwindow:�:�c("""PAY PAPERS"" UTILITY") F9singlesearch=0:a=0:A=0:page%=0:valid=0:upto=1:const=2 P/�''''�c("In order to use this utility, it") Z,�'�c("is first necessary to locate the") d,�'�c("customer's information. To do so") n0�'�c("input the customer's name or address") x�'�c("when required.") ��23;8202;0;0;0; ��comwindow �h�''''''"A : Search By Knowing ADDRESS"'"B : Search By Knowing SURNAME"'"Q : Quit Back To Main Menu"; � *CLOSE �S=�:�S=66�dR@ ��S=65�DRC ��S=81�THG � �tj@ �l�''''''"A : Search A Particular Round"'"B : Search All Rounds And Unpaid List"'"C : Search Unpaid List"; �F=�: ��F=65�TNA � �F=66 � singlesearch=0:�DJA �C�F=67 � S$="UNPAID":file$="UNPAID":valid=1:singlesearch=1:�DJA �d\@ &�'''''''"Which round "':�12,1);S$ T� S$="1" � S$="2" � S$="3" � S$="4" � S$="5" � S$="6" � file$="ROUND"+S$:valid=1 "� S$="U" � file$="UNPAID" ,� �(S$)>7 valid=0:�7 6x� S$="ROUND1" � S$="ROUND2" � S$="ROUND3" � S$="ROUND4" � S$="ROUND5" � S$="ROUND6" � S$="UNPAID" � file$=S$:valid=1 @"�valid=0�TNA � singlesearch=1 J8�'''''''"Enter customer's surname "':�25,1);search$ T�searchround ^�displaydata h�comwindow:�'''''' rE� count=2 �c("Press Space To Display Details")':���=32:N=1:�tZA |G� count>2 �'''''"Input corresponding above number"':�33,1);N:�tPA �$�c("Press Space")':���=32:�T|@ ��N>count-1 �7:�D|A ��thedisplay � �T|@ � ���searchround � �'''''�c("Starting Search")' ��28,1,24,38,3:�:�comwindow �4count=1:a=0:�singlesearch=1 a=�(�file$,1)):�TpB � � a=1 � 7 ��a=1 file$=("ROUND1") ��a=2 file$=("ROUND2") ��a=3 file$=("ROUND3") �a=4 file$=("ROUND4") �a=5 file$=("ROUND5") �a=6 file$=("ROUND6") &�a=7 file$=("UNPAID") 05�mainwindow:�0,a+4)"Searching ";file$:�comwindow :theround=�(file$) D� N��#theround,num(count),rname$(count),init$(count),sname$(count),title$(count),telno(count),or1$(count),or2$(count),or3$(count),todaysbill(count),outstanding(count) X�� �sname$(count),�(search$)) = search$ � �''''''�c("Search element located.")'�c("Continuing Search"):round(count)=a:count=count+1 b� �#theround l� #theround v�singlesearch=1� ��a �� ���displaydata �*�mainwindow:�:�c("RESULTS OF SEARCH") �,�count-1=0�'"Search unsuccessful.":�D~D �O�'"A total of ";count-1;" customers with"'"surname ";search$;" were found." ��A=1�(count-1) � �0,A+5)" ";A;": ";sname$(A) ��13,A+5)" ";init$(A);". " ��17,A+5);num(A) ��20,A+5)" ";rname$(A) ��36,A+5);round(A) �� � ��mainwindow �28,1,24,38,1 � *��comwindow 4�28,1,30,38,27 >� Hݤc(C$):�19-�C$/2);:=C$ Rl�''''''"A : Search A Particular Round"'"B : Search All Rounds And Unpaid List"'"C : Search Unpaid List"; \ F=�:�F=65�tDC f �F=66 � singlesearch=0:�tvC pC�F=67 � S$="UNPAID":file$="UNPAID":valid=1:singlesearch=1:�tvC z �D\C �&�'''''''"Which round "':�12,1);S$ �f� S$="1" � S$="2" � S$="3" � S$="4" � S$="5" � S$="6" � S$="7" � S$="8" � file$="ROUND"+S$:valid=1 �� �(S$)>7 valid=0:�7 ��� S$="ROUND1" � S$="ROUND2" � S$="ROUND3" � S$="ROUND4" � S$="ROUND5" � S$="ROUND6" � S$="ROUND7" � S$="ROUND8" � file$=S$:valid=1 �"�valid=0�tDC � singlesearch=1 �_�'''''''"Enter customer's address :"''"Road number ?"'"Road name ?";:�15,2);tarnum ��15,3);sea$ � �'''''�c("Starting Search")' � �M�28,1,24,38,3:�:�comwindow:count=1:�singlesearch=1 � a=�(�file$,1)):�TnD �#� a=1 � 7:�a=1 file$=("ROUND1") ��a=2 file$=("ROUND2") ��a=3 file$=("ROUND3") �a=4 file$=("ROUND4") �a=5 file$=("ROUND5") �a=6 file$=("ROUND6") $�a=7 file$=("UNPAID") .I�mainwindow:�0,a+4)"Searching ";file$:�comwindow:theround=�(file$):� 8��#theround,num(count),rname$(count),init$(count),sname$(count),title$(count),telno(count),or1$(count),or2$(count),or3$(count),todaysbill(count),outstanding(count) Bw� num(count)=tarnum � rname$(count)=sea$ � round(count)=a:�''''''�c("Search element located.")':count=count+1:�DtD L� �#theround V� #theround `�singlesearch=1�DtD j�a tsearch$=sname$(1):�D^A ~ �� ���thedisplay ��mainwindow:� �#�c("DETAILS OF SEARCH ITEM")'' ��'"Title :" ��'"Surname :" ��'"Address :" ��'''''"Tel. No. :" ��''"Paper(s) ordered :" ��'''''"Bill outstanding :"; �"�16,4);title$(N);" ";init$(N) ��16,6);sname$(N) !�16,8);num(N);", ";rname$(N) A�16,10)"REDCAR"�16,12)"CLEVELAND"�16,14);"(01642) ";telno(N) 4�19,17);or1$(N);�19,19);or2$(N);�19,21);or3$(N) /�outstanding(N)=0 � �19,23);"`0.00";:�TrE (K�19,23);"`";outstanding(N);:�((outstanding(N) * 100)+1) � 10 = 0 �"0"; 2�comwindow <previous=outstanding(N) FZ�outstanding(N)=0 � �''''''�c("Customer does not owe anything!")':A$=�(225):�end:�dLF P8�'''''''''�c("Is This Bill Being Paid?")'�c("(Y/N)") ZG=� d�G=89��DxE n�end:�dLF x?�''''''�c("Please Confirm This Decision Again")'�c("(Y/N)") �A=�:� A=89 � � �tVE ��end:�dLF �3�''''''�c("Customer's bill is being settled.")' �b=round(N) ��b=1 file$=("ROUND1") ��b=2 file$=("ROUND2") ��b=3 file$=("ROUND3") ��b=4 file$=("ROUND4") ��b=5 file$=("ROUND5") ��b=6 file$=("ROUND6") ��b=7 file$=("UNPAID") �title$(0)=title$(N):init$(0)=init$(N):sname$(0)=sname$(N):num(0)=num(N):rname$(0)=rname$(N):telno(0)=telno(N):or1$(0)=or1$(N):or2$(0)=or2$(N):or3$(0)=or3$(N) � *CLOSE theround=�(file$) count=0 � "count=count+1 ,��#theround,num(count),rname$(count),init$(count),sname$(count),title$(count),telno(count),or1$(count),or2$(count),or3$(count),todaysbill(count),outstanding(count) 6� �#theround � count=39 @� #theround J�t=1�count TJ� init$(0)=init$(t) � sname$(0)=sname$(t) � num(0)=num(t) � tochange=t ^�t houtstanding(tochange)=0 r9�mainwindow:�19,23)�(10);:A$=�(20):�19,23);"`0.00"; |(�comwindow:�''''''�c("Please wait")' � *CLOSE �new_amount_round=�(file$) ��s=1 � count ���#new_amount_round,num(s),rname$(s),init$(s),sname$(s),title$(s),telno(s),or1$(s),or2$(s),or3$(s),todaysbill(s),outstanding(s) �� s ��#new_amount_round �_�''�c("Transaction Completed")':A$=�(225):�'''''�c("Print A Receipt?")'�c("(Y/N)"):�receipt �� � ���end:*CLOSE �8�''''"P : Pay More Papers"'"Q : Return To Main Menu" �I=�:�I=81 � � �THG � �TpG !�''''�c("Loading Main Menu")' *DIR �"MENU" &� 0� : D ��receipt ND=�:�D=89�0:�DXG � � X"� ** ** b"� ** This part contains the ** l"� ** PRINTER CONTROL CODES! ** v"� ** ** ��7:�dhH �*FX200,0 � �2:� * Open Printer * � *FX5,1 � *FX6,1 �� �"�1,27,1,70:�* Clear Defaults * ��1,18:� * Medium CHR$ * �!�1,27,1,84:�* Cancel Script * �%� 1,14:�" LABURNUM NEWS" �>�'" RECEIPT FOR PAYMENT OF PAPER BILL IN FULL" ��1,27,1,83,1,1 ��1,27,1,82,1,3 � �1,15 %�''"Receipt Made Out To : "; �1,18 �1,27,1,84 �1,14:� * Enlarge CHR$ * *�1,27,1,69:� * BOLD Print * 4)�title$(0);" ";init$(0);" ";sname$(0) > �1,14 H'�(13);num(0);" ";rname$(0);" ROAD" R�1,27,1,70 \� f�1,27,1,83,1,3 p+�'"We Acknowledge The Sum Of : "; z �1,14 ��1,27,1,69 ��1,27,1,84 ��"#";previous �O�''"SIGNED ________________________ TODAY'S DATE _____ _____ _____" � �1,12 � �1,12 ��3 �*FX200,1 �P�7:�'''�c("Receipt Printed")'�c("Remember To Sign And Date It!"):A$=�(700):� � ��3 �c�7:�mainwindow:�:�c("ERROR!")'''�c("User interrupt detected.")'''''�c("Printing Abandoned.")'' �h�''�c("Receipt Utility MUST be connected")''�c("correctly to printer during")''�c("printing tasks.") ��comwindow:�'''''''"Unable to generate this receipt."'"The customer paid a bill of `";previous;"."'"Make a note of this number then press"'"SPACE to return to main menu.";:Y=� �THG �
00000000 0d 00 0a 20 f4 20 42 54 45 43 20 50 72 6f 6a 65 |... . BTEC Proje| 00000010 63 74 20 22 50 41 47 45 37 22 20 76 2e 31 2e 33 |ct "PAGE7" v.1.3| 00000020 0d 00 14 0c 2a 46 58 32 30 30 2c 31 0d 00 1e 0a |....*FX200,1....| 00000030 2a 43 4c 4f 53 45 0d 00 28 10 2a 44 49 52 20 4d |*CLOSE..(.*DIR M| 00000040 4f 52 4e 49 4e 47 0d 00 32 85 de 6e 75 6d 28 34 |ORNING..2..num(4| 00000050 30 29 2c 72 6e 61 6d 65 24 28 34 30 29 2c 69 6e |0),rname$(40),in| 00000060 69 74 24 28 34 30 29 2c 73 6e 61 6d 65 24 28 34 |it$(40),sname$(4| 00000070 30 29 2c 74 69 74 6c 65 24 28 34 30 29 2c 74 65 |0),title$(40),te| 00000080 6c 6e 6f 28 34 30 29 2c 6f 72 31 24 28 34 30 29 |lno(40),or1$(40)| 00000090 2c 6f 72 32 24 28 34 30 29 2c 6f 72 33 24 28 34 |,or2$(40),or3$(4| 000000a0 30 29 2c 72 6f 75 6e 64 28 34 30 29 2c 74 6f 64 |0),round(40),tod| 000000b0 61 79 73 62 69 6c 6c 28 34 30 29 2c 6f 75 74 73 |aysbill(40),outs| 000000c0 74 61 6e 64 69 6e 67 28 34 30 29 0d 00 3c 2f f2 |tanding(40)..</.| 000000d0 6d 61 69 6e 77 69 6e 64 6f 77 3a db 3a f1 a4 63 |mainwindow:.:..c| 000000e0 28 22 22 22 50 41 59 20 50 41 50 45 52 53 22 22 |("""PAY PAPERS""| 000000f0 20 55 54 49 4c 49 54 59 22 29 0d 00 46 39 73 69 | UTILITY")..F9si| 00000100 6e 67 6c 65 73 65 61 72 63 68 3d 30 3a 61 3d 30 |nglesearch=0:a=0| 00000110 3a 41 3d 30 3a 70 61 67 65 25 3d 30 3a 76 61 6c |:A=0:page%=0:val| 00000120 69 64 3d 30 3a 75 70 74 6f 3d 31 3a 63 6f 6e 73 |id=0:upto=1:cons| 00000130 74 3d 32 0d 00 50 2f f1 27 27 27 27 a4 63 28 22 |t=2..P/.''''.c("| 00000140 49 6e 20 6f 72 64 65 72 20 74 6f 20 75 73 65 20 |In order to use | 00000150 74 68 69 73 20 75 74 69 6c 69 74 79 2c 20 69 74 |this utility, it| 00000160 22 29 0d 00 5a 2c f1 27 a4 63 28 22 69 73 20 66 |")..Z,.'.c("is f| 00000170 69 72 73 74 20 6e 65 63 65 73 73 61 72 79 20 74 |irst necessary t| 00000180 6f 20 6c 6f 63 61 74 65 20 74 68 65 22 29 0d 00 |o locate the")..| 00000190 64 2c f1 27 a4 63 28 22 63 75 73 74 6f 6d 65 72 |d,.'.c("customer| 000001a0 27 73 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 20 |'s information. | 000001b0 54 6f 20 64 6f 20 73 6f 22 29 0d 00 6e 30 f1 27 |To do so")..n0.'| 000001c0 a4 63 28 22 69 6e 70 75 74 20 74 68 65 20 63 75 |.c("input the cu| 000001d0 73 74 6f 6d 65 72 27 73 20 6e 61 6d 65 20 6f 72 |stomer's name or| 000001e0 20 61 64 64 72 65 73 73 22 29 0d 00 78 1a f1 27 | address")..x..'| 000001f0 a4 63 28 22 77 68 65 6e 20 72 65 71 75 69 72 65 |.c("when require| 00000200 64 2e 22 29 0d 00 82 13 ef 32 33 3b 38 32 30 32 |d.").....23;8202| 00000210 3b 30 3b 30 3b 30 3b 0d 00 8c 0e f2 63 6f 6d 77 |;0;0;0;.....comw| 00000220 69 6e 64 6f 77 0d 00 96 68 f1 27 27 27 27 27 27 |indow...h.''''''| 00000230 22 41 20 3a 20 53 65 61 72 63 68 20 42 79 20 4b |"A : Search By K| 00000240 6e 6f 77 69 6e 67 20 41 44 44 52 45 53 53 22 27 |nowing ADDRESS"'| 00000250 22 42 20 3a 20 53 65 61 72 63 68 20 42 79 20 4b |"B : Search By K| 00000260 6e 6f 77 69 6e 67 20 53 55 52 4e 41 4d 45 22 27 |nowing SURNAME"'| 00000270 22 51 20 3a 20 51 75 69 74 20 42 61 63 6b 20 54 |"Q : Quit Back T| 00000280 6f 20 4d 61 69 6e 20 4d 65 6e 75 22 3b 0d 00 a0 |o Main Menu";...| 00000290 0a 2a 43 4c 4f 53 45 0d 00 aa 12 53 3d a5 3a e7 |.*CLOSE....S=.:.| 000002a0 53 3d 36 36 e5 8d 64 52 40 0d 00 b4 0e e7 53 3d |S=66..dR@.....S=| 000002b0 36 35 e5 8d 44 52 43 0d 00 be 0e e7 53 3d 38 31 |65..DRC.....S=81| 000002c0 e5 8d 54 48 47 0d 00 c8 09 e5 8d 74 6a 40 0d 00 |..THG......tj@..| 000002d0 d2 6c f1 27 27 27 27 27 27 22 41 20 3a 20 53 65 |.l.''''''"A : Se| 000002e0 61 72 63 68 20 41 20 50 61 72 74 69 63 75 6c 61 |arch A Particula| 000002f0 72 20 52 6f 75 6e 64 22 27 22 42 20 3a 20 53 65 |r Round"'"B : Se| 00000300 61 72 63 68 20 41 6c 6c 20 52 6f 75 6e 64 73 20 |arch All Rounds | 00000310 41 6e 64 20 55 6e 70 61 69 64 20 4c 69 73 74 22 |And Unpaid List"| 00000320 27 22 43 20 3a 20 53 65 61 72 63 68 20 55 6e 70 |'"C : Search Unp| 00000330 61 69 64 20 4c 69 73 74 22 3b 0d 00 dc 08 46 3d |aid List";....F=| 00000340 a5 3a 0d 00 e6 0e e7 46 3d 36 35 e5 8d 54 4e 41 |.:.....F=65..TNA| 00000350 0d 00 f0 20 e7 46 3d 36 36 20 8c 20 73 69 6e 67 |... .F=66 . sing| 00000360 6c 65 73 65 61 72 63 68 3d 30 3a e5 8d 44 4a 41 |lesearch=0:..DJA| 00000370 0d 00 fa 43 e7 46 3d 36 37 20 8c 20 53 24 3d 22 |...C.F=67 . S$="| 00000380 55 4e 50 41 49 44 22 3a 66 69 6c 65 24 3d 22 55 |UNPAID":file$="U| 00000390 4e 50 41 49 44 22 3a 76 61 6c 69 64 3d 31 3a 73 |NPAID":valid=1:s| 000003a0 69 6e 67 6c 65 73 65 61 72 63 68 3d 31 3a e5 8d |inglesearch=1:..| 000003b0 44 4a 41 0d 01 04 09 e5 8d 64 5c 40 0d 01 0e 26 |DJA......d\@...&| 000003c0 f1 27 27 27 27 27 27 27 22 57 68 69 63 68 20 72 |.'''''''"Which r| 000003d0 6f 75 6e 64 20 22 27 3a e8 8a 31 32 2c 31 29 3b |ound "':..12,1);| 000003e0 53 24 0d 01 18 54 e7 20 53 24 3d 22 31 22 20 84 |S$...T. S$="1" .| 000003f0 20 53 24 3d 22 32 22 20 84 20 53 24 3d 22 33 22 | S$="2" . S$="3"| 00000400 20 84 20 53 24 3d 22 34 22 20 84 20 53 24 3d 22 | . S$="4" . S$="| 00000410 35 22 20 84 20 53 24 3d 22 36 22 20 8c 20 66 69 |5" . S$="6" . fi| 00000420 6c 65 24 3d 22 52 4f 55 4e 44 22 2b 53 24 3a 76 |le$="ROUND"+S$:v| 00000430 61 6c 69 64 3d 31 0d 01 22 1d e7 20 53 24 3d 22 |alid=1..".. S$="| 00000440 55 22 20 8c 20 66 69 6c 65 24 3d 22 55 4e 50 41 |U" . file$="UNPA| 00000450 49 44 22 0d 01 2c 18 e7 20 a9 28 53 24 29 3e 37 |ID"..,.. .(S$)>7| 00000460 20 76 61 6c 69 64 3d 30 3a ef 37 0d 01 36 78 e7 | valid=0:.7..6x.| 00000470 20 53 24 3d 22 52 4f 55 4e 44 31 22 20 84 20 53 | S$="ROUND1" . S| 00000480 24 3d 22 52 4f 55 4e 44 32 22 20 84 20 53 24 3d |$="ROUND2" . S$=| 00000490 22 52 4f 55 4e 44 33 22 20 84 20 53 24 3d 22 52 |"ROUND3" . S$="R| 000004a0 4f 55 4e 44 34 22 20 84 20 53 24 3d 22 52 4f 55 |OUND4" . S$="ROU| 000004b0 4e 44 35 22 20 84 20 53 24 3d 22 52 4f 55 4e 44 |ND5" . S$="ROUND| 000004c0 36 22 20 84 20 53 24 3d 22 55 4e 50 41 49 44 22 |6" . S$="UNPAID"| 000004d0 20 8c 20 66 69 6c 65 24 3d 53 24 3a 76 61 6c 69 | . file$=S$:vali| 000004e0 64 3d 31 0d 01 40 22 e7 76 61 6c 69 64 3d 30 e5 |d=1..@".valid=0.| 000004f0 8d 54 4e 41 20 8b 20 73 69 6e 67 6c 65 73 65 61 |.TNA . singlesea| 00000500 72 63 68 3d 31 0d 01 4a 38 f1 27 27 27 27 27 27 |rch=1..J8.''''''| 00000510 27 22 45 6e 74 65 72 20 63 75 73 74 6f 6d 65 72 |'"Enter customer| 00000520 27 73 20 73 75 72 6e 61 6d 65 20 22 27 3a e8 8a |'s surname "':..| 00000530 32 35 2c 31 29 3b 73 65 61 72 63 68 24 0d 01 54 |25,1);search$..T| 00000540 10 f2 73 65 61 72 63 68 72 6f 75 6e 64 0d 01 5e |..searchround..^| 00000550 10 f2 64 69 73 70 6c 61 79 64 61 74 61 0d 01 68 |..displaydata..h| 00000560 16 f2 63 6f 6d 77 69 6e 64 6f 77 3a f1 27 27 27 |..comwindow:.'''| 00000570 27 27 27 0d 01 72 45 e7 20 63 6f 75 6e 74 3d 32 |'''..rE. count=2| 00000580 20 f1 a4 63 28 22 50 72 65 73 73 20 53 70 61 63 | ..c("Press Spac| 00000590 65 20 54 6f 20 44 69 73 70 6c 61 79 20 44 65 74 |e To Display Det| 000005a0 61 69 6c 73 22 29 27 3a f5 fd a5 3d 33 32 3a 4e |ails")':...=32:N| 000005b0 3d 31 3a e5 8d 74 5a 41 0d 01 7c 47 e7 20 63 6f |=1:..tZA..|G. co| 000005c0 75 6e 74 3e 32 20 f1 27 27 27 27 27 22 49 6e 70 |unt>2 .'''''"Inp| 000005d0 75 74 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 |ut corresponding| 000005e0 20 61 62 6f 76 65 20 6e 75 6d 62 65 72 22 27 3a | above number"':| 000005f0 e8 8a 33 33 2c 31 29 3b 4e 3a e5 8d 74 50 41 0d |..33,1);N:..tPA.| 00000600 01 86 24 f1 a4 63 28 22 50 72 65 73 73 20 53 70 |..$..c("Press Sp| 00000610 61 63 65 22 29 27 3a f5 fd a5 3d 33 32 3a e5 8d |ace")':...=32:..| 00000620 54 7c 40 0d 01 90 17 e7 4e 3e 63 6f 75 6e 74 2d |T|@.....N>count-| 00000630 31 20 ef 37 3a e5 8d 44 7c 41 0d 01 9a 0f f2 74 |1 .7:..D|A.....t| 00000640 68 65 64 69 73 70 6c 61 79 0d 01 a4 09 e5 8d 54 |hedisplay......T| 00000650 7c 40 0d 01 ae 06 20 20 0d 01 b8 11 dd f2 73 65 ||@.... ......se| 00000660 61 72 63 68 72 6f 75 6e 64 0d 01 c2 20 f1 27 27 |archround... .''| 00000670 27 27 27 a4 63 28 22 53 74 61 72 74 69 6e 67 20 |'''.c("Starting | 00000680 53 65 61 72 63 68 22 29 27 0d 01 cc 1e ef 32 38 |Search")'.....28| 00000690 2c 31 2c 32 34 2c 33 38 2c 33 3a db 3a f2 63 6f |,1,24,38,3:.:.co| 000006a0 6d 77 69 6e 64 6f 77 0d 01 d6 34 63 6f 75 6e 74 |mwindow...4count| 000006b0 3d 31 3a 61 3d 30 3a e7 73 69 6e 67 6c 65 73 65 |=1:a=0:.singlese| 000006c0 61 72 63 68 3d 31 20 61 3d bb 28 c2 66 69 6c 65 |arch=1 a=.(.file| 000006d0 24 2c 31 29 29 3a e5 8d 54 70 42 0d 01 e0 0d e3 |$,1)):..TpB.....| 000006e0 20 61 3d 31 20 b8 20 37 0d 01 ea 19 e7 61 3d 31 | a=1 . 7.....a=1| 000006f0 20 66 69 6c 65 24 3d 28 22 52 4f 55 4e 44 31 22 | file$=("ROUND1"| 00000700 29 0d 01 f4 19 e7 61 3d 32 20 66 69 6c 65 24 3d |).....a=2 file$=| 00000710 28 22 52 4f 55 4e 44 32 22 29 0d 01 fe 19 e7 61 |("ROUND2").....a| 00000720 3d 33 20 66 69 6c 65 24 3d 28 22 52 4f 55 4e 44 |=3 file$=("ROUND| 00000730 33 22 29 0d 02 08 19 e7 61 3d 34 20 66 69 6c 65 |3").....a=4 file| 00000740 24 3d 28 22 52 4f 55 4e 44 34 22 29 0d 02 12 19 |$=("ROUND4")....| 00000750 e7 61 3d 35 20 66 69 6c 65 24 3d 28 22 52 4f 55 |.a=5 file$=("ROU| 00000760 4e 44 35 22 29 0d 02 1c 19 e7 61 3d 36 20 66 69 |ND5").....a=6 fi| 00000770 6c 65 24 3d 28 22 52 4f 55 4e 44 36 22 29 0d 02 |le$=("ROUND6")..| 00000780 26 19 e7 61 3d 37 20 66 69 6c 65 24 3d 28 22 55 |&..a=7 file$=("U| 00000790 4e 50 41 49 44 22 29 0d 02 30 35 f2 6d 61 69 6e |NPAID")..05.main| 000007a0 77 69 6e 64 6f 77 3a f1 8a 30 2c 61 2b 34 29 22 |window:..0,a+4)"| 000007b0 53 65 61 72 63 68 69 6e 67 20 22 3b 66 69 6c 65 |Searching ";file| 000007c0 24 3a f2 63 6f 6d 77 69 6e 64 6f 77 0d 02 3a 15 |$:.comwindow..:.| 000007d0 74 68 65 72 6f 75 6e 64 3d 8e 28 66 69 6c 65 24 |theround=.(file$| 000007e0 29 0d 02 44 05 f5 0d 02 4e a6 e8 23 74 68 65 72 |)..D....N..#ther| 000007f0 6f 75 6e 64 2c 6e 75 6d 28 63 6f 75 6e 74 29 2c |ound,num(count),| 00000800 72 6e 61 6d 65 24 28 63 6f 75 6e 74 29 2c 69 6e |rname$(count),in| 00000810 69 74 24 28 63 6f 75 6e 74 29 2c 73 6e 61 6d 65 |it$(count),sname| 00000820 24 28 63 6f 75 6e 74 29 2c 74 69 74 6c 65 24 28 |$(count),title$(| 00000830 63 6f 75 6e 74 29 2c 74 65 6c 6e 6f 28 63 6f 75 |count),telno(cou| 00000840 6e 74 29 2c 6f 72 31 24 28 63 6f 75 6e 74 29 2c |nt),or1$(count),| 00000850 6f 72 32 24 28 63 6f 75 6e 74 29 2c 6f 72 33 24 |or2$(count),or3$| 00000860 28 63 6f 75 6e 74 29 2c 74 6f 64 61 79 73 62 69 |(count),todaysbi| 00000870 6c 6c 28 63 6f 75 6e 74 29 2c 6f 75 74 73 74 61 |ll(count),outsta| 00000880 6e 64 69 6e 67 28 63 6f 75 6e 74 29 0d 02 58 86 |nding(count)..X.| 00000890 e7 20 c0 73 6e 61 6d 65 24 28 63 6f 75 6e 74 29 |. .sname$(count)| 000008a0 2c a9 28 73 65 61 72 63 68 24 29 29 20 3d 20 73 |,.(search$)) = s| 000008b0 65 61 72 63 68 24 20 8c 20 f1 27 27 27 27 27 27 |earch$ . .''''''| 000008c0 a4 63 28 22 53 65 61 72 63 68 20 65 6c 65 6d 65 |.c("Search eleme| 000008d0 6e 74 20 6c 6f 63 61 74 65 64 2e 22 29 27 a4 63 |nt located.")'.c| 000008e0 28 22 43 6f 6e 74 69 6e 75 69 6e 67 20 53 65 61 |("Continuing Sea| 000008f0 72 63 68 22 29 3a 72 6f 75 6e 64 28 63 6f 75 6e |rch"):round(coun| 00000900 74 29 3d 61 3a 63 6f 75 6e 74 3d 63 6f 75 6e 74 |t)=a:count=count| 00000910 2b 31 0d 02 62 10 fd 20 c5 23 74 68 65 72 6f 75 |+1..b.. .#therou| 00000920 6e 64 0d 02 6c 0f d9 20 23 74 68 65 72 6f 75 6e |nd..l.. #theroun| 00000930 64 0d 02 76 14 e7 73 69 6e 67 6c 65 73 65 61 72 |d..v..singlesear| 00000940 63 68 3d 31 e1 0d 02 80 06 ed 61 0d 02 8a 05 e1 |ch=1......a.....| 00000950 0d 02 94 11 dd f2 64 69 73 70 6c 61 79 64 61 74 |......displaydat| 00000960 61 0d 02 9e 2a f2 6d 61 69 6e 77 69 6e 64 6f 77 |a...*.mainwindow| 00000970 3a db 3a f1 a4 63 28 22 52 45 53 55 4c 54 53 20 |:.:..c("RESULTS | 00000980 4f 46 20 53 45 41 52 43 48 22 29 0d 02 a8 2c e7 |OF SEARCH")...,.| 00000990 63 6f 75 6e 74 2d 31 3d 30 f1 27 22 53 65 61 72 |count-1=0.'"Sear| 000009a0 63 68 20 75 6e 73 75 63 63 65 73 73 66 75 6c 2e |ch unsuccessful.| 000009b0 22 3a e5 8d 44 7e 44 0d 02 b2 4f f1 27 22 41 20 |":..D~D...O.'"A | 000009c0 74 6f 74 61 6c 20 6f 66 20 22 3b 63 6f 75 6e 74 |total of ";count| 000009d0 2d 31 3b 22 20 63 75 73 74 6f 6d 65 72 73 20 77 |-1;" customers w| 000009e0 69 74 68 22 27 22 73 75 72 6e 61 6d 65 20 22 3b |ith"'"surname ";| 000009f0 73 65 61 72 63 68 24 3b 22 20 77 65 72 65 20 66 |search$;" were f| 00000a00 6f 75 6e 64 2e 22 0d 02 bc 12 e3 41 3d 31 b8 28 |ound.".....A=1.(| 00000a10 63 6f 75 6e 74 2d 31 29 0d 02 c6 20 f1 8a 30 2c |count-1)... ..0,| 00000a20 41 2b 35 29 22 20 22 3b 41 3b 22 3a 20 22 3b 73 |A+5)" ";A;": ";s| 00000a30 6e 61 6d 65 24 28 41 29 0d 02 d0 1e f1 8a 31 33 |name$(A)......13| 00000a40 2c 41 2b 35 29 22 20 22 3b 69 6e 69 74 24 28 41 |,A+5)" ";init$(A| 00000a50 29 3b 22 2e 20 22 0d 02 da 14 f1 8a 31 37 2c 41 |);". "......17,A| 00000a60 2b 35 29 3b 6e 75 6d 28 41 29 0d 02 e4 1a f1 8a |+5);num(A)......| 00000a70 32 30 2c 41 2b 35 29 22 20 22 3b 72 6e 61 6d 65 |20,A+5)" ";rname| 00000a80 24 28 41 29 0d 02 ee 16 f1 8a 33 36 2c 41 2b 35 |$(A)......36,A+5| 00000a90 29 3b 72 6f 75 6e 64 28 41 29 0d 02 f8 05 ed 0d |);round(A)......| 00000aa0 03 02 05 e1 0d 03 0c 10 dd f2 6d 61 69 6e 77 69 |..........mainwi| 00000ab0 6e 64 6f 77 0d 03 16 11 ef 32 38 2c 31 2c 32 34 |ndow.....28,1,24| 00000ac0 2c 33 38 2c 31 0d 03 20 05 e1 0d 03 2a 0f dd f2 |,38,1.. ....*...| 00000ad0 63 6f 6d 77 69 6e 64 6f 77 0d 03 34 12 ef 32 38 |comwindow..4..28| 00000ae0 2c 31 2c 33 30 2c 33 38 2c 32 37 0d 03 3e 05 e1 |,1,30,38,27..>..| 00000af0 0d 03 48 1c dd a4 63 28 43 24 29 3a f1 8a 31 39 |..H...c(C$):..19| 00000b00 2d a9 43 24 2f 32 29 3b 3a 3d 43 24 0d 03 52 6c |-.C$/2);:=C$..Rl| 00000b10 f1 27 27 27 27 27 27 22 41 20 3a 20 53 65 61 72 |.''''''"A : Sear| 00000b20 63 68 20 41 20 50 61 72 74 69 63 75 6c 61 72 20 |ch A Particular | 00000b30 52 6f 75 6e 64 22 27 22 42 20 3a 20 53 65 61 72 |Round"'"B : Sear| 00000b40 63 68 20 41 6c 6c 20 52 6f 75 6e 64 73 20 41 6e |ch All Rounds An| 00000b50 64 20 55 6e 70 61 69 64 20 4c 69 73 74 22 27 22 |d Unpaid List"'"| 00000b60 43 20 3a 20 53 65 61 72 63 68 20 55 6e 70 61 69 |C : Search Unpai| 00000b70 64 20 4c 69 73 74 22 3b 0d 03 5c 13 20 46 3d a5 |d List";..\. F=.| 00000b80 3a e7 46 3d 36 35 e5 8d 74 44 43 0d 03 66 20 e7 |:.F=65..tDC..f .| 00000b90 46 3d 36 36 20 8c 20 73 69 6e 67 6c 65 73 65 61 |F=66 . singlesea| 00000ba0 72 63 68 3d 30 3a e5 8d 74 76 43 0d 03 70 43 e7 |rch=0:..tvC..pC.| 00000bb0 46 3d 36 37 20 8c 20 53 24 3d 22 55 4e 50 41 49 |F=67 . S$="UNPAI| 00000bc0 44 22 3a 66 69 6c 65 24 3d 22 55 4e 50 41 49 44 |D":file$="UNPAID| 00000bd0 22 3a 76 61 6c 69 64 3d 31 3a 73 69 6e 67 6c 65 |":valid=1:single| 00000be0 73 65 61 72 63 68 3d 31 3a e5 8d 74 76 43 0d 03 |search=1:..tvC..| 00000bf0 7a 09 e5 8d 44 5c 43 0d 03 84 26 f1 27 27 27 27 |z...D\C...&.''''| 00000c00 27 27 27 22 57 68 69 63 68 20 72 6f 75 6e 64 20 |'''"Which round | 00000c10 22 27 3a e8 8a 31 32 2c 31 29 3b 53 24 0d 03 8e |"':..12,1);S$...| 00000c20 66 e7 20 53 24 3d 22 31 22 20 84 20 53 24 3d 22 |f. S$="1" . S$="| 00000c30 32 22 20 84 20 53 24 3d 22 33 22 20 84 20 53 24 |2" . S$="3" . S$| 00000c40 3d 22 34 22 20 84 20 53 24 3d 22 35 22 20 84 20 |="4" . S$="5" . | 00000c50 53 24 3d 22 36 22 20 84 20 53 24 3d 22 37 22 20 |S$="6" . S$="7" | 00000c60 84 20 53 24 3d 22 38 22 20 8c 20 66 69 6c 65 24 |. S$="8" . file$| 00000c70 3d 22 52 4f 55 4e 44 22 2b 53 24 3a 76 61 6c 69 |="ROUND"+S$:vali| 00000c80 64 3d 31 0d 03 98 18 e7 20 a9 28 53 24 29 3e 37 |d=1..... .(S$)>7| 00000c90 20 76 61 6c 69 64 3d 30 3a ef 37 0d 03 a2 86 e7 | valid=0:.7.....| 00000ca0 20 53 24 3d 22 52 4f 55 4e 44 31 22 20 84 20 53 | S$="ROUND1" . S| 00000cb0 24 3d 22 52 4f 55 4e 44 32 22 20 84 20 53 24 3d |$="ROUND2" . S$=| 00000cc0 22 52 4f 55 4e 44 33 22 20 84 20 53 24 3d 22 52 |"ROUND3" . S$="R| 00000cd0 4f 55 4e 44 34 22 20 84 20 53 24 3d 22 52 4f 55 |OUND4" . S$="ROU| 00000ce0 4e 44 35 22 20 84 20 53 24 3d 22 52 4f 55 4e 44 |ND5" . S$="ROUND| 00000cf0 36 22 20 84 20 53 24 3d 22 52 4f 55 4e 44 37 22 |6" . S$="ROUND7"| 00000d00 20 84 20 53 24 3d 22 52 4f 55 4e 44 38 22 20 8c | . S$="ROUND8" .| 00000d10 20 66 69 6c 65 24 3d 53 24 3a 76 61 6c 69 64 3d | file$=S$:valid=| 00000d20 31 0d 03 ac 22 e7 76 61 6c 69 64 3d 30 e5 8d 74 |1...".valid=0..t| 00000d30 44 43 20 8b 20 73 69 6e 67 6c 65 73 65 61 72 63 |DC . singlesearc| 00000d40 68 3d 31 0d 03 b6 5f f1 27 27 27 27 27 27 27 22 |h=1..._.'''''''"| 00000d50 45 6e 74 65 72 20 63 75 73 74 6f 6d 65 72 27 73 |Enter customer's| 00000d60 20 61 64 64 72 65 73 73 20 3a 22 27 27 22 52 6f | address :"''"Ro| 00000d70 61 64 20 6e 75 6d 62 65 72 20 20 20 20 3f 22 27 |ad number ?"'| 00000d80 22 52 6f 61 64 20 6e 61 6d 65 20 20 20 20 20 20 |"Road name | 00000d90 3f 22 3b 3a e8 8a 31 35 2c 32 29 3b 74 61 72 6e |?";:..15,2);tarn| 00000da0 75 6d 0d 03 c0 10 e8 8a 31 35 2c 33 29 3b 73 65 |um......15,3);se| 00000db0 61 24 0d 03 ca 20 f1 27 27 27 27 27 a4 63 28 22 |a$... .'''''.c("| 00000dc0 53 74 61 72 74 69 6e 67 20 53 65 61 72 63 68 22 |Starting Search"| 00000dd0 29 27 0d 03 d4 05 20 0d 03 de 4d ef 32 38 2c 31 |)'.... ...M.28,1| 00000de0 2c 32 34 2c 33 38 2c 33 3a db 3a f2 63 6f 6d 77 |,24,38,3:.:.comw| 00000df0 69 6e 64 6f 77 3a 63 6f 75 6e 74 3d 31 3a e7 73 |indow:count=1:.s| 00000e00 69 6e 67 6c 65 73 65 61 72 63 68 3d 31 20 8c 20 |inglesearch=1 . | 00000e10 61 3d bb 28 c2 66 69 6c 65 24 2c 31 29 29 3a e5 |a=.(.file$,1)):.| 00000e20 8d 54 6e 44 0d 03 e8 23 e3 20 61 3d 31 20 b8 20 |.TnD...#. a=1 . | 00000e30 37 3a e7 61 3d 31 20 66 69 6c 65 24 3d 28 22 52 |7:.a=1 file$=("R| 00000e40 4f 55 4e 44 31 22 29 0d 03 f2 19 e7 61 3d 32 20 |OUND1").....a=2 | 00000e50 66 69 6c 65 24 3d 28 22 52 4f 55 4e 44 32 22 29 |file$=("ROUND2")| 00000e60 0d 03 fc 19 e7 61 3d 33 20 66 69 6c 65 24 3d 28 |.....a=3 file$=(| 00000e70 22 52 4f 55 4e 44 33 22 29 0d 04 06 19 e7 61 3d |"ROUND3").....a=| 00000e80 34 20 66 69 6c 65 24 3d 28 22 52 4f 55 4e 44 34 |4 file$=("ROUND4| 00000e90 22 29 0d 04 10 19 e7 61 3d 35 20 66 69 6c 65 24 |").....a=5 file$| 00000ea0 3d 28 22 52 4f 55 4e 44 35 22 29 0d 04 1a 19 e7 |=("ROUND5").....| 00000eb0 61 3d 36 20 66 69 6c 65 24 3d 28 22 52 4f 55 4e |a=6 file$=("ROUN| 00000ec0 44 36 22 29 0d 04 24 19 e7 61 3d 37 20 66 69 6c |D6")..$..a=7 fil| 00000ed0 65 24 3d 28 22 55 4e 50 41 49 44 22 29 0d 04 2e |e$=("UNPAID")...| 00000ee0 49 f2 6d 61 69 6e 77 69 6e 64 6f 77 3a f1 8a 30 |I.mainwindow:..0| 00000ef0 2c 61 2b 34 29 22 53 65 61 72 63 68 69 6e 67 20 |,a+4)"Searching | 00000f00 22 3b 66 69 6c 65 24 3a f2 63 6f 6d 77 69 6e 64 |";file$:.comwind| 00000f10 6f 77 3a 74 68 65 72 6f 75 6e 64 3d 8e 28 66 69 |ow:theround=.(fi| 00000f20 6c 65 24 29 3a f5 0d 04 38 a6 e8 23 74 68 65 72 |le$):...8..#ther| 00000f30 6f 75 6e 64 2c 6e 75 6d 28 63 6f 75 6e 74 29 2c |ound,num(count),| 00000f40 72 6e 61 6d 65 24 28 63 6f 75 6e 74 29 2c 69 6e |rname$(count),in| 00000f50 69 74 24 28 63 6f 75 6e 74 29 2c 73 6e 61 6d 65 |it$(count),sname| 00000f60 24 28 63 6f 75 6e 74 29 2c 74 69 74 6c 65 24 28 |$(count),title$(| 00000f70 63 6f 75 6e 74 29 2c 74 65 6c 6e 6f 28 63 6f 75 |count),telno(cou| 00000f80 6e 74 29 2c 6f 72 31 24 28 63 6f 75 6e 74 29 2c |nt),or1$(count),| 00000f90 6f 72 32 24 28 63 6f 75 6e 74 29 2c 6f 72 33 24 |or2$(count),or3$| 00000fa0 28 63 6f 75 6e 74 29 2c 74 6f 64 61 79 73 62 69 |(count),todaysbi| 00000fb0 6c 6c 28 63 6f 75 6e 74 29 2c 6f 75 74 73 74 61 |ll(count),outsta| 00000fc0 6e 64 69 6e 67 28 63 6f 75 6e 74 29 0d 04 42 77 |nding(count)..Bw| 00000fd0 e7 20 6e 75 6d 28 63 6f 75 6e 74 29 3d 74 61 72 |. num(count)=tar| 00000fe0 6e 75 6d 20 80 20 72 6e 61 6d 65 24 28 63 6f 75 |num . rname$(cou| 00000ff0 6e 74 29 3d 73 65 61 24 20 8c 20 72 6f 75 6e 64 |nt)=sea$ . round| 00001000 28 63 6f 75 6e 74 29 3d 61 3a f1 27 27 27 27 27 |(count)=a:.'''''| 00001010 27 a4 63 28 22 53 65 61 72 63 68 20 65 6c 65 6d |'.c("Search elem| 00001020 65 6e 74 20 6c 6f 63 61 74 65 64 2e 22 29 27 3a |ent located.")':| 00001030 63 6f 75 6e 74 3d 63 6f 75 6e 74 2b 31 3a e5 8d |count=count+1:..| 00001040 44 74 44 0d 04 4c 10 fd 20 c5 23 74 68 65 72 6f |DtD..L.. .#thero| 00001050 75 6e 64 0d 04 56 0f d9 20 23 74 68 65 72 6f 75 |und..V.. #therou| 00001060 6e 64 0d 04 60 18 e7 73 69 6e 67 6c 65 73 65 61 |nd..`..singlesea| 00001070 72 63 68 3d 31 e5 8d 44 74 44 0d 04 6a 06 ed 61 |rch=1..DtD..j..a| 00001080 0d 04 74 1b 73 65 61 72 63 68 24 3d 73 6e 61 6d |..t.search$=snam| 00001090 65 24 28 31 29 3a e5 8d 44 5e 41 0d 04 7e 06 20 |e$(1):..D^A..~. | 000010a0 20 0d 04 88 05 e1 0d 04 92 10 dd f2 74 68 65 64 | ...........thed| 000010b0 69 73 70 6c 61 79 0d 04 9c 11 f2 6d 61 69 6e 77 |isplay.....mainw| 000010c0 69 6e 64 6f 77 3a db 0d 04 a6 23 f1 a4 63 28 22 |indow:....#..c("| 000010d0 44 45 54 41 49 4c 53 20 4f 46 20 53 45 41 52 43 |DETAILS OF SEARC| 000010e0 48 20 49 54 45 4d 22 29 27 27 0d 04 b0 17 f1 27 |H ITEM")''.....'| 000010f0 22 54 69 74 6c 65 20 20 20 20 20 20 20 20 20 3a |"Title :| 00001100 22 0d 04 ba 17 f1 27 22 53 75 72 6e 61 6d 65 20 |".....'"Surname | 00001110 20 20 20 20 20 20 3a 22 0d 04 c4 17 f1 27 22 41 | :".....'"A| 00001120 64 64 72 65 73 73 20 20 20 20 20 20 20 3a 22 0d |ddress :".| 00001130 04 ce 1b f1 27 27 27 27 27 22 54 65 6c 2e 20 4e |....'''''"Tel. N| 00001140 6f 2e 20 20 20 20 20 20 3a 22 0d 04 d8 1b f1 27 |o. :".....'| 00001150 27 22 50 61 70 65 72 28 73 29 20 6f 72 64 65 72 |'"Paper(s) order| 00001160 65 64 20 3a 22 0d 04 e2 1f f1 27 27 27 27 27 22 |ed :".....'''''"| 00001170 42 69 6c 6c 20 6f 75 74 73 74 61 6e 64 69 6e 67 |Bill outstanding| 00001180 20 3a 22 3b 0d 04 ec 22 f1 8a 31 36 2c 34 29 3b | :";..."..16,4);| 00001190 74 69 74 6c 65 24 28 4e 29 3b 22 20 22 3b 69 6e |title$(N);" ";in| 000011a0 69 74 24 28 4e 29 0d 04 f6 15 f1 8a 31 36 2c 36 |it$(N)......16,6| 000011b0 29 3b 73 6e 61 6d 65 24 28 4e 29 0d 05 00 21 f1 |);sname$(N)...!.| 000011c0 8a 31 36 2c 38 29 3b 6e 75 6d 28 4e 29 3b 22 2c |.16,8);num(N);",| 000011d0 20 22 3b 72 6e 61 6d 65 24 28 4e 29 0d 05 0a 41 | ";rname$(N)...A| 000011e0 f1 8a 31 36 2c 31 30 29 22 52 45 44 43 41 52 22 |..16,10)"REDCAR"| 000011f0 8a 31 36 2c 31 32 29 22 43 4c 45 56 45 4c 41 4e |.16,12)"CLEVELAN| 00001200 44 22 8a 31 36 2c 31 34 29 3b 22 28 30 31 36 34 |D".16,14);"(0164| 00001210 32 29 20 22 3b 74 65 6c 6e 6f 28 4e 29 0d 05 14 |2) ";telno(N)...| 00001220 34 f1 8a 31 39 2c 31 37 29 3b 6f 72 31 24 28 4e |4..19,17);or1$(N| 00001230 29 3b 8a 31 39 2c 31 39 29 3b 6f 72 32 24 28 4e |);.19,19);or2$(N| 00001240 29 3b 8a 31 39 2c 32 31 29 3b 6f 72 33 24 28 4e |);.19,21);or3$(N| 00001250 29 0d 05 1e 2f e7 6f 75 74 73 74 61 6e 64 69 6e |).../.outstandin| 00001260 67 28 4e 29 3d 30 20 8c 20 f1 8a 31 39 2c 32 33 |g(N)=0 . ..19,23| 00001270 29 3b 22 60 30 2e 30 30 22 3b 3a e5 8d 54 72 45 |);"`0.00";:..TrE| 00001280 0d 05 28 4b f1 8a 31 39 2c 32 33 29 3b 22 60 22 |..(K..19,23);"`"| 00001290 3b 6f 75 74 73 74 61 6e 64 69 6e 67 28 4e 29 3b |;outstanding(N);| 000012a0 3a e7 28 28 6f 75 74 73 74 61 6e 64 69 6e 67 28 |:.((outstanding(| 000012b0 4e 29 20 2a 20 31 30 30 29 2b 31 29 20 83 20 31 |N) * 100)+1) . 1| 000012c0 30 20 3d 20 30 20 f1 22 30 22 3b 0d 05 32 0e f2 |0 = 0 ."0";..2..| 000012d0 63 6f 6d 77 69 6e 64 6f 77 0d 05 3c 1b 70 72 65 |comwindow..<.pre| 000012e0 76 69 6f 75 73 3d 6f 75 74 73 74 61 6e 64 69 6e |vious=outstandin| 000012f0 67 28 4e 29 0d 05 46 5a e7 6f 75 74 73 74 61 6e |g(N)..FZ.outstan| 00001300 64 69 6e 67 28 4e 29 3d 30 20 8c 20 f1 27 27 27 |ding(N)=0 . .'''| 00001310 27 27 27 a4 63 28 22 43 75 73 74 6f 6d 65 72 20 |'''.c("Customer | 00001320 64 6f 65 73 20 6e 6f 74 20 6f 77 65 20 61 6e 79 |does not owe any| 00001330 74 68 69 6e 67 21 22 29 27 3a 41 24 3d bf 28 32 |thing!")':A$=.(2| 00001340 32 35 29 3a f2 65 6e 64 3a e5 8d 64 4c 46 0d 05 |25):.end:..dLF..| 00001350 50 38 f1 27 27 27 27 27 27 27 27 27 a4 63 28 22 |P8.'''''''''.c("| 00001360 49 73 20 54 68 69 73 20 42 69 6c 6c 20 42 65 69 |Is This Bill Bei| 00001370 6e 67 20 50 61 69 64 3f 22 29 27 a4 63 28 22 28 |ng Paid?")'.c("(| 00001380 59 2f 4e 29 22 29 0d 05 5a 07 47 3d a5 0d 05 64 |Y/N)")..Z.G=...d| 00001390 0f e7 47 3d 38 39 8c e5 8d 44 78 45 0d 05 6e 0e |..G=89...DxE..n.| 000013a0 f2 65 6e 64 3a e5 8d 64 4c 46 0d 05 78 3f f1 27 |.end:..dLF..x?.'| 000013b0 27 27 27 27 27 a4 63 28 22 50 6c 65 61 73 65 20 |'''''.c("Please | 000013c0 43 6f 6e 66 69 72 6d 20 54 68 69 73 20 44 65 63 |Confirm This Dec| 000013d0 69 73 69 6f 6e 20 41 67 61 69 6e 22 29 27 a4 63 |ision Again")'.c| 000013e0 28 22 28 59 2f 4e 29 22 29 0d 05 82 17 41 3d a5 |("(Y/N)")....A=.| 000013f0 3a e7 20 41 3d 38 39 20 8c 20 e5 20 8d 74 56 45 |:. A=89 . . .tVE| 00001400 0d 05 8c 0e f2 65 6e 64 3a e5 8d 64 4c 46 0d 05 |.....end:..dLF..| 00001410 96 33 f1 27 27 27 27 27 27 a4 63 28 22 43 75 73 |.3.''''''.c("Cus| 00001420 74 6f 6d 65 72 27 73 20 62 69 6c 6c 20 69 73 20 |tomer's bill is | 00001430 62 65 69 6e 67 20 73 65 74 74 6c 65 64 2e 22 29 |being settled.")| 00001440 27 0d 05 a0 0e 62 3d 72 6f 75 6e 64 28 4e 29 0d |'....b=round(N).| 00001450 05 aa 19 e7 62 3d 31 20 66 69 6c 65 24 3d 28 22 |....b=1 file$=("| 00001460 52 4f 55 4e 44 31 22 29 0d 05 b4 19 e7 62 3d 32 |ROUND1").....b=2| 00001470 20 66 69 6c 65 24 3d 28 22 52 4f 55 4e 44 32 22 | file$=("ROUND2"| 00001480 29 0d 05 be 19 e7 62 3d 33 20 66 69 6c 65 24 3d |).....b=3 file$=| 00001490 28 22 52 4f 55 4e 44 33 22 29 0d 05 c8 19 e7 62 |("ROUND3").....b| 000014a0 3d 34 20 66 69 6c 65 24 3d 28 22 52 4f 55 4e 44 |=4 file$=("ROUND| 000014b0 34 22 29 0d 05 d2 19 e7 62 3d 35 20 66 69 6c 65 |4").....b=5 file| 000014c0 24 3d 28 22 52 4f 55 4e 44 35 22 29 0d 05 dc 19 |$=("ROUND5")....| 000014d0 e7 62 3d 36 20 66 69 6c 65 24 3d 28 22 52 4f 55 |.b=6 file$=("ROU| 000014e0 4e 44 36 22 29 0d 05 e6 19 e7 62 3d 37 20 66 69 |ND6").....b=7 fi| 000014f0 6c 65 24 3d 28 22 55 4e 50 41 49 44 22 29 0d 05 |le$=("UNPAID")..| 00001500 f0 a1 74 69 74 6c 65 24 28 30 29 3d 74 69 74 6c |..title$(0)=titl| 00001510 65 24 28 4e 29 3a 69 6e 69 74 24 28 30 29 3d 69 |e$(N):init$(0)=i| 00001520 6e 69 74 24 28 4e 29 3a 73 6e 61 6d 65 24 28 30 |nit$(N):sname$(0| 00001530 29 3d 73 6e 61 6d 65 24 28 4e 29 3a 6e 75 6d 28 |)=sname$(N):num(| 00001540 30 29 3d 6e 75 6d 28 4e 29 3a 72 6e 61 6d 65 24 |0)=num(N):rname$| 00001550 28 30 29 3d 72 6e 61 6d 65 24 28 4e 29 3a 74 65 |(0)=rname$(N):te| 00001560 6c 6e 6f 28 30 29 3d 74 65 6c 6e 6f 28 4e 29 3a |lno(0)=telno(N):| 00001570 6f 72 31 24 28 30 29 3d 6f 72 31 24 28 4e 29 3a |or1$(0)=or1$(N):| 00001580 6f 72 32 24 28 30 29 3d 6f 72 32 24 28 4e 29 3a |or2$(0)=or2$(N):| 00001590 6f 72 33 24 28 30 29 3d 6f 72 33 24 28 4e 29 0d |or3$(0)=or3$(N).| 000015a0 05 fa 0a 2a 43 4c 4f 53 45 0d 06 04 15 74 68 65 |...*CLOSE....the| 000015b0 72 6f 75 6e 64 3d 8e 28 66 69 6c 65 24 29 0d 06 |round=.(file$)..| 000015c0 0e 0b 63 6f 75 6e 74 3d 30 0d 06 18 05 f5 0d 06 |..count=0.......| 000015d0 22 11 63 6f 75 6e 74 3d 63 6f 75 6e 74 2b 31 0d |".count=count+1.| 000015e0 06 2c a6 e8 23 74 68 65 72 6f 75 6e 64 2c 6e 75 |.,..#theround,nu| 000015f0 6d 28 63 6f 75 6e 74 29 2c 72 6e 61 6d 65 24 28 |m(count),rname$(| 00001600 63 6f 75 6e 74 29 2c 69 6e 69 74 24 28 63 6f 75 |count),init$(cou| 00001610 6e 74 29 2c 73 6e 61 6d 65 24 28 63 6f 75 6e 74 |nt),sname$(count| 00001620 29 2c 74 69 74 6c 65 24 28 63 6f 75 6e 74 29 2c |),title$(count),| 00001630 74 65 6c 6e 6f 28 63 6f 75 6e 74 29 2c 6f 72 31 |telno(count),or1| 00001640 24 28 63 6f 75 6e 74 29 2c 6f 72 32 24 28 63 6f |$(count),or2$(co| 00001650 75 6e 74 29 2c 6f 72 33 24 28 63 6f 75 6e 74 29 |unt),or3$(count)| 00001660 2c 74 6f 64 61 79 73 62 69 6c 6c 28 63 6f 75 6e |,todaysbill(coun| 00001670 74 29 2c 6f 75 74 73 74 61 6e 64 69 6e 67 28 63 |t),outstanding(c| 00001680 6f 75 6e 74 29 0d 06 36 1b fd 20 c5 23 74 68 65 |ount)..6.. .#the| 00001690 72 6f 75 6e 64 20 84 20 63 6f 75 6e 74 3d 33 39 |round . count=39| 000016a0 0d 06 40 0f d9 20 23 74 68 65 72 6f 75 6e 64 0d |..@.. #theround.| 000016b0 06 4a 0e e3 74 3d 31 b8 63 6f 75 6e 74 0d 06 54 |.J..t=1.count..T| 000016c0 4a e7 20 69 6e 69 74 24 28 30 29 3d 69 6e 69 74 |J. init$(0)=init| 000016d0 24 28 74 29 20 80 20 73 6e 61 6d 65 24 28 30 29 |$(t) . sname$(0)| 000016e0 3d 73 6e 61 6d 65 24 28 74 29 20 80 20 6e 75 6d |=sname$(t) . num| 000016f0 28 30 29 3d 6e 75 6d 28 74 29 20 8c 20 74 6f 63 |(0)=num(t) . toc| 00001700 68 61 6e 67 65 3d 74 0d 06 5e 06 ed 74 0d 06 68 |hange=t..^..t..h| 00001710 1b 6f 75 74 73 74 61 6e 64 69 6e 67 28 74 6f 63 |.outstanding(toc| 00001720 68 61 6e 67 65 29 3d 30 0d 06 72 39 f2 6d 61 69 |hange)=0..r9.mai| 00001730 6e 77 69 6e 64 6f 77 3a f1 8a 31 39 2c 32 33 29 |nwindow:..19,23)| 00001740 89 28 31 30 29 3b 3a 41 24 3d bf 28 32 30 29 3a |.(10);:A$=.(20):| 00001750 f1 8a 31 39 2c 32 33 29 3b 22 60 30 2e 30 30 22 |..19,23);"`0.00"| 00001760 3b 0d 06 7c 28 f2 63 6f 6d 77 69 6e 64 6f 77 3a |;..|(.comwindow:| 00001770 f1 27 27 27 27 27 27 a4 63 28 22 50 6c 65 61 73 |.''''''.c("Pleas| 00001780 65 20 77 61 69 74 22 29 27 0d 06 86 0a 2a 43 4c |e wait")'....*CL| 00001790 4f 53 45 0d 06 90 1d 6e 65 77 5f 61 6d 6f 75 6e |OSE....new_amoun| 000017a0 74 5f 72 6f 75 6e 64 3d ae 28 66 69 6c 65 24 29 |t_round=.(file$)| 000017b0 0d 06 9a 10 e3 73 3d 31 20 b8 20 63 6f 75 6e 74 |.....s=1 . count| 000017c0 0d 06 a4 82 f1 23 6e 65 77 5f 61 6d 6f 75 6e 74 |.....#new_amount| 000017d0 5f 72 6f 75 6e 64 2c 6e 75 6d 28 73 29 2c 72 6e |_round,num(s),rn| 000017e0 61 6d 65 24 28 73 29 2c 69 6e 69 74 24 28 73 29 |ame$(s),init$(s)| 000017f0 2c 73 6e 61 6d 65 24 28 73 29 2c 74 69 74 6c 65 |,sname$(s),title| 00001800 24 28 73 29 2c 74 65 6c 6e 6f 28 73 29 2c 6f 72 |$(s),telno(s),or| 00001810 31 24 28 73 29 2c 6f 72 32 24 28 73 29 2c 6f 72 |1$(s),or2$(s),or| 00001820 33 24 28 73 29 2c 74 6f 64 61 79 73 62 69 6c 6c |3$(s),todaysbill| 00001830 28 73 29 2c 6f 75 74 73 74 61 6e 64 69 6e 67 28 |(s),outstanding(| 00001840 73 29 0d 06 ae 07 ed 20 73 0d 06 b8 16 d9 23 6e |s)..... s.....#n| 00001850 65 77 5f 61 6d 6f 75 6e 74 5f 72 6f 75 6e 64 0d |ew_amount_round.| 00001860 06 c2 5f f1 27 27 a4 63 28 22 54 72 61 6e 73 61 |.._.''.c("Transa| 00001870 63 74 69 6f 6e 20 43 6f 6d 70 6c 65 74 65 64 22 |ction Completed"| 00001880 29 27 3a 41 24 3d bf 28 32 32 35 29 3a f1 27 27 |)':A$=.(225):.''| 00001890 27 27 27 a4 63 28 22 50 72 69 6e 74 20 41 20 52 |'''.c("Print A R| 000018a0 65 63 65 69 70 74 3f 22 29 27 a4 63 28 22 28 59 |eceipt?")'.c("(Y| 000018b0 2f 4e 29 22 29 3a f2 72 65 63 65 69 70 74 0d 06 |/N)"):.receipt..| 000018c0 cc 05 e1 0d 06 d6 05 20 0d 06 e0 10 dd f2 65 6e |....... ......en| 000018d0 64 3a 2a 43 4c 4f 53 45 0d 06 ea 38 f1 27 27 27 |d:*CLOSE...8.'''| 000018e0 27 22 50 20 3a 20 50 61 79 20 4d 6f 72 65 20 50 |'"P : Pay More P| 000018f0 61 70 65 72 73 22 27 22 51 20 3a 20 52 65 74 75 |apers"'"Q : Retu| 00001900 72 6e 20 54 6f 20 4d 61 69 6e 20 4d 65 6e 75 22 |rn To Main Menu"| 00001910 0d 06 f4 16 49 3d a5 3a e7 49 3d 38 31 20 8c 20 |....I=.:.I=81 . | 00001920 e5 20 8d 54 48 47 0d 06 fe 09 e5 8d 54 70 47 0d |. .THG......TpG.| 00001930 07 08 21 f1 27 27 27 27 a4 63 28 22 4c 6f 61 64 |..!.''''.c("Load| 00001940 69 6e 67 20 4d 61 69 6e 20 4d 65 6e 75 22 29 27 |ing Main Menu")'| 00001950 0d 07 12 08 2a 44 49 52 0d 07 1c 0b d7 22 4d 45 |....*DIR....."ME| 00001960 4e 55 22 0d 07 26 05 e0 0d 07 30 05 e1 0d 07 3a |NU"..&....0....:| 00001970 05 20 0d 07 44 0d dd f2 72 65 63 65 69 70 74 0d |. ..D...receipt.| 00001980 07 4e 19 44 3d a5 3a e7 44 3d 38 39 fb 30 3a e5 |.N.D=.:.D=89.0:.| 00001990 8d 44 58 47 20 8b 20 e1 0d 07 58 22 f4 20 2a 2a |.DXG . ...X". **| 000019a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 000019b0 20 20 20 20 20 20 20 20 2a 2a 0d 07 62 22 f4 20 | **..b". | 000019c0 2a 2a 20 54 68 69 73 20 70 61 72 74 20 63 6f 6e |** This part con| 000019d0 74 61 69 6e 73 20 74 68 65 20 2a 2a 0d 07 6c 22 |tains the **..l"| 000019e0 f4 20 2a 2a 20 50 52 49 4e 54 45 52 20 43 4f 4e |. ** PRINTER CON| 000019f0 54 52 4f 4c 20 43 4f 44 45 53 21 20 2a 2a 0d 07 |TROL CODES! **..| 00001a00 76 22 f4 20 2a 2a 20 20 20 20 20 20 20 20 20 20 |v". ** | 00001a10 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 2a | **| 00001a20 0d 07 80 0e ee 85 fb 37 3a e5 8d 64 68 48 0d 07 |.......7:..dhH..| 00001a30 8a 0c 2a 46 58 32 30 30 2c 30 0d 07 94 20 ef 32 |..*FX200,0... .2| 00001a40 3a f4 20 20 20 20 20 20 20 20 2a 20 4f 70 65 6e |:. * Open| 00001a50 20 50 72 69 6e 74 65 72 20 2a 0d 07 9e 0a 2a 46 | Printer *....*F| 00001a60 58 35 2c 31 0d 07 a8 0a 2a 46 58 36 2c 31 0d 07 |X5,1....*FX6,1..| 00001a70 b2 05 f1 0d 07 bc 22 ef 31 2c 32 37 2c 31 2c 37 |......".1,27,1,7| 00001a80 30 3a f4 2a 20 43 6c 65 61 72 20 44 65 66 61 75 |0:.* Clear Defau| 00001a90 6c 74 73 20 2a 0d 07 c6 1f ef 31 2c 31 38 3a f4 |lts *.....1,18:.| 00001aa0 20 20 20 20 20 2a 20 4d 65 64 69 75 6d 20 43 48 | * Medium CH| 00001ab0 52 24 20 2a 0d 07 d0 21 ef 31 2c 32 37 2c 31 2c |R$ *...!.1,27,1,| 00001ac0 38 34 3a f4 2a 20 43 61 6e 63 65 6c 20 53 63 72 |84:.* Cancel Scr| 00001ad0 69 70 74 20 2a 0d 07 da 25 ef 20 31 2c 31 34 3a |ipt *...%. 1,14:| 00001ae0 f1 22 20 20 20 20 20 20 20 20 20 20 4c 41 42 55 |." LABU| 00001af0 52 4e 55 4d 20 4e 45 57 53 22 0d 07 e4 3e f1 27 |RNUM NEWS"...>.'| 00001b00 22 20 20 20 20 20 20 20 20 20 20 20 20 20 52 45 |" RE| 00001b10 43 45 49 50 54 20 46 4f 52 20 50 41 59 4d 45 4e |CEIPT FOR PAYMEN| 00001b20 54 20 4f 46 20 50 41 50 45 52 20 42 49 4c 4c 20 |T OF PAPER BILL | 00001b30 49 4e 20 46 55 4c 4c 22 0d 07 ee 12 ef 31 2c 32 |IN FULL".....1,2| 00001b40 37 2c 31 2c 38 33 2c 31 2c 31 0d 07 ef 12 ef 31 |7,1,83,1,1.....1| 00001b50 2c 32 37 2c 31 2c 38 32 2c 31 2c 33 0d 07 f8 09 |,27,1,82,1,3....| 00001b60 ef 31 2c 31 35 0d 08 02 25 f1 27 27 22 52 65 63 |.1,15...%.''"Rec| 00001b70 65 69 70 74 20 4d 61 64 65 20 4f 75 74 20 54 6f |eipt Made Out To| 00001b80 20 3a 20 20 20 20 20 20 22 3b 0d 08 0c 09 ef 31 | : ";.....1| 00001b90 2c 31 38 0d 08 16 0e ef 31 2c 32 37 2c 31 2c 38 |,18.....1,27,1,8| 00001ba0 34 0d 08 20 1c ef 31 2c 31 34 3a f4 20 2a 20 45 |4.. ..1,14:. * E| 00001bb0 6e 6c 61 72 67 65 20 43 48 52 24 20 2a 0d 08 2a |nlarge CHR$ *..*| 00001bc0 1f ef 31 2c 32 37 2c 31 2c 36 39 3a f4 20 2a 20 |..1,27,1,69:. * | 00001bd0 42 4f 4c 44 20 50 72 69 6e 74 20 2a 0d 08 34 29 |BOLD Print *..4)| 00001be0 f1 74 69 74 6c 65 24 28 30 29 3b 22 20 22 3b 69 |.title$(0);" ";i| 00001bf0 6e 69 74 24 28 30 29 3b 22 20 22 3b 73 6e 61 6d |nit$(0);" ";snam| 00001c00 65 24 28 30 29 0d 08 3e 09 ef 31 2c 31 34 0d 08 |e$(0)..>..1,14..| 00001c10 48 27 f1 89 28 31 33 29 3b 6e 75 6d 28 30 29 3b |H'..(13);num(0);| 00001c20 22 20 22 3b 72 6e 61 6d 65 24 28 30 29 3b 22 20 |" ";rname$(0);" | 00001c30 52 4f 41 44 22 0d 08 52 0e ef 31 2c 32 37 2c 31 |ROAD"..R..1,27,1| 00001c40 2c 37 30 0d 08 5c 05 f1 0d 08 66 12 ef 31 2c 32 |,70..\....f..1,2| 00001c50 37 2c 31 2c 38 33 2c 31 2c 33 0d 08 70 2b f1 27 |7,1,83,1,3..p+.'| 00001c60 22 57 65 20 41 63 6b 6e 6f 77 6c 65 64 67 65 20 |"We Acknowledge | 00001c70 54 68 65 20 53 75 6d 20 4f 66 20 3a 20 20 20 20 |The Sum Of : | 00001c80 20 20 20 22 3b 0d 08 7a 09 ef 31 2c 31 34 0d 08 | ";..z..1,14..| 00001c90 84 0e ef 31 2c 32 37 2c 31 2c 36 39 0d 08 8e 0e |...1,27,1,69....| 00001ca0 ef 31 2c 32 37 2c 31 2c 38 34 0d 08 98 11 f1 22 |.1,27,1,84....."| 00001cb0 23 22 3b 70 72 65 76 69 6f 75 73 0d 08 a2 4f f1 |#";previous...O.| 00001cc0 27 27 22 53 49 47 4e 45 44 20 5f 5f 5f 5f 5f 5f |''"SIGNED ______| 00001cd0 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f |________________| 00001ce0 5f 5f 20 20 20 20 20 20 20 54 4f 44 41 59 27 53 |__ TODAY'S| 00001cf0 20 44 41 54 45 20 5f 5f 5f 5f 5f 20 20 5f 5f 5f | DATE _____ ___| 00001d00 5f 5f 20 20 5f 5f 5f 5f 5f 22 0d 08 ac 09 ef 31 |__ _____".....1| 00001d10 2c 31 32 0d 08 b6 09 ef 31 2c 31 32 0d 08 c0 06 |,12.....1,12....| 00001d20 ef 33 0d 08 ca 0c 2a 46 58 32 30 30 2c 31 0d 08 |.3....*FX200,1..| 00001d30 d4 50 fb 37 3a f1 27 27 27 a4 63 28 22 52 65 63 |.P.7:.'''.c("Rec| 00001d40 65 69 70 74 20 50 72 69 6e 74 65 64 22 29 27 a4 |eipt Printed")'.| 00001d50 63 28 22 52 65 6d 65 6d 62 65 72 20 54 6f 20 53 |c("Remember To S| 00001d60 69 67 6e 20 41 6e 64 20 44 61 74 65 20 49 74 21 |ign And Date It!| 00001d70 22 29 3a 41 24 3d bf 28 37 30 30 29 3a e1 0d 08 |"):A$=.(700):...| 00001d80 de 05 20 0d 08 e8 06 ef 33 0d 08 f2 63 ef 37 3a |.. .....3...c.7:| 00001d90 f2 6d 61 69 6e 77 69 6e 64 6f 77 3a db 3a f1 a4 |.mainwindow:.:..| 00001da0 63 28 22 45 52 52 4f 52 21 22 29 27 27 27 a4 63 |c("ERROR!")'''.c| 00001db0 28 22 55 73 65 72 20 69 6e 74 65 72 72 75 70 74 |("User interrupt| 00001dc0 20 64 65 74 65 63 74 65 64 2e 22 29 27 27 27 27 | detected.")''''| 00001dd0 27 a4 63 28 22 50 72 69 6e 74 69 6e 67 20 41 62 |'.c("Printing Ab| 00001de0 61 6e 64 6f 6e 65 64 2e 22 29 27 27 0d 08 fc 68 |andoned.")''...h| 00001df0 f1 27 27 a4 63 28 22 52 65 63 65 69 70 74 20 55 |.''.c("Receipt U| 00001e00 74 69 6c 69 74 79 20 4d 55 53 54 20 62 65 20 63 |tility MUST be c| 00001e10 6f 6e 6e 65 63 74 65 64 22 29 27 27 a4 63 28 22 |onnected")''.c("| 00001e20 63 6f 72 72 65 63 74 6c 79 20 74 6f 20 70 72 69 |correctly to pri| 00001e30 6e 74 65 72 20 64 75 72 69 6e 67 22 29 27 27 a4 |nter during")''.| 00001e40 63 28 22 70 72 69 6e 74 69 6e 67 20 74 61 73 6b |c("printing task| 00001e50 73 2e 22 29 0d 09 06 b3 f2 63 6f 6d 77 69 6e 64 |s.").....comwind| 00001e60 6f 77 3a f1 27 27 27 27 27 27 27 22 55 6e 61 62 |ow:.'''''''"Unab| 00001e70 6c 65 20 74 6f 20 67 65 6e 65 72 61 74 65 20 74 |le to generate t| 00001e80 68 69 73 20 72 65 63 65 69 70 74 2e 22 27 22 54 |his receipt."'"T| 00001e90 68 65 20 63 75 73 74 6f 6d 65 72 20 70 61 69 64 |he customer paid| 00001ea0 20 61 20 62 69 6c 6c 20 6f 66 20 60 22 3b 70 72 | a bill of `";pr| 00001eb0 65 76 69 6f 75 73 3b 22 2e 22 27 22 4d 61 6b 65 |evious;"."'"Make| 00001ec0 20 61 20 6e 6f 74 65 20 6f 66 20 74 68 69 73 20 | a note of this | 00001ed0 6e 75 6d 62 65 72 20 74 68 65 6e 20 70 72 65 73 |number then pres| 00001ee0 73 22 27 22 53 50 41 43 45 20 74 6f 20 72 65 74 |s"'"SPACE to ret| 00001ef0 75 72 6e 20 74 6f 20 6d 61 69 6e 20 6d 65 6e 75 |urn to main menu| 00001f00 2e 22 3b 3a 59 3d a5 0d 09 10 09 e5 8d 54 48 47 |.";:Y=.......THG| 00001f10 0d ff |..| 00001f12