Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_21B.ADF » P/C/EDIT
P/C/EDIT
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_21B.ADF |
Filename: | P/C/EDIT |
Read OK: | ✔ |
File size: | 0EFC bytes |
Load address: | FFFF2000 |
Exec address: | FFFF2000 |
Duplicates
There is 1 duplicate copy of this file in the archive:
- AEW website » eug » eug_5_25_discs_Eug-21_D-EUG21B.dsd » C.EDIT
- Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_21B.ADF » P/C/EDIT
File contents
10REM >EDIT 20REM >Bank Account (c) M Comley 1994 V 1.2 Menu 30VDU19,1,2;0;26,12 40PROCmf(STRING$(20," ")+"Bank Account - |BRECORD EDITOR V|N 1.2|.") 50PRINTSTRING$(80,"-"):PROCvdu(2,24) 60PROCmf("|.|.|H Loading Data |N|I Please wait.") 70DIMday$(7),month$(12),m%(12),pay%(20),fpay%(20),lpay%(20),flag%(20),n_pay%(20),st%(20),date%(20),freq%(20),pp%(20),p$(20) 80A%=0:B%=0:F%=0:G%=FALSE:O%=6:S%=0:W%=FALSE:Z%=0 90T%=OPENIN"A.DATA" 100FOR Q%=1 TO 12:INPUT#T%,month$(Q%),m%(Q%):NEXT 110FOR Q%=1 TO 7:INPUT#T%,day$(Q%):NEXT 120CLOSE#0 130*LOAD $&C03 140PROCload:CLS 150 160REPEAT:*FX21,0 170CLS 180CALL&900:J%=FNget(CHR$13+"LDCRBJ") 190IF J%=2 PROClook 200IF J%=3 PROCdelete 210IF J%=4 PROClinked 220IF J%=5 PROCamend_linked_list:PROCsave 230IF J%=6 CHAIN"FLEX" 240IF J%=7 CHAIN"ADJUST" 250UNTIL 0 260 270DEFPROCamend_linked_list 280CLS 290FOR Q%=0 TO 20:VDUQ%+65:PROCmf(" "+p$(Q%)+"|."):NEXT 300PROCmf("|IAmend linked list |N|H CHOOSE |N|I an item, or |N|H RETURN |N|I to quit.") 310check%=FNget("ABCDEFGHIJKLMNOPQRSTU"+CHR$13)-1:IF check%=21 ENDPROC 320PROCmf(" |DPlease wait amending - |N"+p$(check%)) 330Q%=0:next%=-1 340T%=OPENUP "A.RECORD" 350REPEAT:PTR# T%=Q%*100+20:INPUT#T%,P% 360IF P%=check% PROCdo 370Q%=Q%+1:UNTIL Q%>S% 380IF next%>=0 pp%(check%)=next%:PTR# T%=next%*100+25:PRINT#T%,0 390CLOSE#0:ENDPROC 400 410DEFPROCc(a%,b%):COLOURa%:COLOURb%:ENDPROC 420 430DEFPROCdelete 440CLS:PROCheading:PROCvdu(4,24) 450INPUT"Record number to delete "H%:IF H%>S% PROCvdu(2,24):ENDPROC 460CLS:T%=OPENIN "A.RECORD":A%=H%-5 470REPEAT:PROCretrieve:IF P%=99 PROCc(129,0) 480IF A%=H% PROCc(129,0) 490@%=&405:PRINTA%,D%" "month$(M%)Y%;:IF A%=H% PROCmf("|H "+payee$) ELSE PROCmf(" "+payee$) 500IF A%=H% PROCc(129,0) 510REPEAT:VDU32:UNTILPOS=54:PROCmoney(Z%):PRINT" ";:PROCmoney(B%):PROCc(1,128):PRINT 520A%=A%+1:UNTIL A%>S% OR A%=H%+5 530PTR# T%=(H%-1)*100+35:INPUT#T%,bal%:CLOSE#0 540PROCvdu(15,24):PRINT"Do you wish to delete this file ";:IF FNget("YN")=2 THEN 600 550A%=H%:T%=OPENUP "A.RECORD" 560PROCretrieve:B%=0:P%=99:PTR# T%=A%*100:PRINT#T%,D%,M%,Y%,I%,P%,next%,Z%,B%,payee$ 570REPEAT:A%=A%+1:PROCretrieve:bal%=bal%+Z% 580PTR# T%=A%*100:PRINT#T%,D%,M%,Y%,I%,P%,next%,Z%,bal%,payee$ 590UNTIL A%=S%:CLOSE#0 600PROCvdu(2,24):ENDPROC 610 620DEFPROCdo:IF next%>=0 THEN PTR# T%=next%*100+25:PRINT#T%,Q% 630next%=Q%:ENDPROC 640 650DEFPROCget_date:U%=OPENUP "A.DATE":INPUT#U%,Y%,C%,W%,A%,O%,S%,D%,M%,I%:CLOSE#0:ENDPROC 660 670DEFPROCheading:PROCmf("|I No. Date Text"+STRING$(32," ")+"Ammount Balance|."):PRINTSTRING$(80,"-"):ENDPROC 680 690DEFPROClinked 700@%=&405:VDU12,14:INPUT"Record number to start from "A%:IF A%>=S% A%=S%-20 710CLS:PROCmf("|I No. Date P% next% Text|.") 720PROCvdu(3,24) 730T%=OPENIN "A.RECORD":REPEAT:PTR# T%=A%*100:INPUT#T%,D%,M%,Y%,I%,P%,next%,Z%,B%,payee$ 740IF P%=99 PROCc(0,129) 750PRINTA%" "day$(I%)D%" "month$(M%)Y%,P%,next%;:PROCmf(" "+payee$):PRINT 760A%=A%+1:UNTIL A%=S%:CLOSE#0 770@%=&90A:PROCmf(STRING$(15," ")+"|H Hit a key "):REPEATUNTILGET 780VDU15:PROCvdu(2,24):ENDPROC 790 800DEFPROCload 810Q%=0:T%=OPENIN"A.FILE":REPEAT:PTR# T%=Q%*100 820INPUT#T%,pay%(Q%),fpay%(Q%),lpay%(Q%),flag%(Q%),n_pay%(Q%),freq%(Q%),st%(Q%),date%(Q%),pp%(Q%),p$(Q%) 830Q%=Q%+1:UNTIL Q%>20:CLOSE#0 840PROCget_date 850ENDPROC 860 870DEFPROClook 880CLS:PROCheading:PROCvdu(4,24) 890VDU14:INPUT"Record number to start from "A%:IF A%>=S% A%=S%-20 900CLS:T%=OPENIN "A.RECORD" 910REPEAT:PROCretrieve:IF P%=99 PROCc(0,129) 920@%=&405:PRINTA%,D%" "month$(M%)Y%;:PROCmf(" "+payee$) 930REPEAT:VDU32:UNTILPOS=54:PROCmoney(Z%):PRINT" ";:PROCmoney(B%) 940PRINT:A%=A%+1:UNTIL A%=S%:CLOSE#0 950VDU15:PROCmf(STRING$(15," ")+"|H Hit a key "):*FX21,0 960REPEATUNTILGET:PROCvdu(2,24):ENDPROC 970 980DEFPROCmf(a$):CALLHIMEM,a$:ENDPROC 990 1000DEFPROCmoney(m%):@%=&2020A:PRINTm%/100;:@%=&90A:ENDPROC 1010 1020DEFPROCretrieve:PTR# T%=A%*100:INPUT#T%,D%,M%,Y%,I%,P%,next%,Z%,B%,payee$:ENDPROC 1030 1040DEFPROCsave 1050CLS:PRINT"Saving Data" 1060Q%=0:T%=OPENUP"A.FILE":REPEAT:PTR# T%=Q%*100 1070PRINT#T%,pay%(Q%),fpay%(Q%),lpay%(Q%),flag%(Q%),n_pay%(Q%),freq%(Q%),st%(Q%),date%(Q%),pp%(Q%),p$(Q%) 1080Q%=Q%+1:UNTIL Q%>20:CLOSE#0 1090PROCsave_date 1100ENDPROC 1110 1120DEFPROCsave_date:U%=OPENUP "A.DATE":PRINT#U%,Y%,C%,W%,A%,O%,S%,D%,M%,I%:CLOSE#0:ENDPROC 1130 1140DEFPROCvdu(t%,b%):VDU28,0,b%,79,t%:ENDPROC 1150 1160DEFFNcash 1170`%=0:`$="0":d%=0:d$="0":po%=0 1180INPUTmo$:IF mo$="" =0 1190l%=LENmo$:po%=INSTR(mo$,".") 1200IF po%=1 THEN 1220 1210IF po%=0 `$=mo$:GOTO 1250:ELSE `$=LEFT$(mo$,po%-1) 1220d$=RIGHT$(mo$,l%-po%) 1230IF LENd$=1 d$=d$+"0" 1240IF `$="" `$=`$+"0" 1250`%=EVAL(`$):d%=EVAL(d$) 1260IF P%>=O% =(`%*100+d%)*(-1) ELSE =`%*100+d% 1270 1280DEFFNget(q$):*FX21,0 1290REPEAT K%=INSTR(q$,GET$):UNTIL K%<>0:=K%
� >EDIT 1� >Bank Account (c) M Comley 1994 V 1.2 Menu �19,1,2;0;26,12 (<�mf(�20," ")+"Bank Account - |BRECORD EDITOR V|N 1.2|.") 2��80,"-"):�vdu(2,24) <0�mf("|.|.|H Loading Data |N|I Please wait.") F{�day$(7),month$(12),m%(12),pay%(20),fpay%(20),lpay%(20),flag%(20),n_pay%(20),st%(20),date%(20),freq%(20),pp%(20),p$(20) P+A%=0:B%=0:F%=0:G%=�:O%=6:S%=0:W%=�:Z%=0 ZT%=�"A.DATA" d(� Q%=1 � 12:�#T%,month$(Q%),m%(Q%):� n� Q%=1 � 7:�#T%,day$(Q%):� x�#0 �*LOAD $&C03 ��load:� � � �:*FX21,0 �� ��&900:J%=�get(�13+"LDCRBJ") �� J%=2 �look �� J%=3 �delete �� J%=4 �linked �#� J%=5 �amend_linked_list:�save �� J%=6 �"FLEX" �� J%=7 �"ADJUST" �� 0 ��amend_linked_list � ".� Q%=0 � 20:�Q%+65:�mf(" "+p$(Q%)+"|."):� ,U�mf("|IAmend linked list |N|H CHOOSE |N|I an item, or |N|H RETURN |N|I to quit.") 6<check%=�get("ABCDEFGHIJKLMNOPQRSTU"+�13)-1:� check%=21 � @2�mf(" |DPlease wait amending - |N"+p$(check%)) JQ%=0:next%=-1 TT%=� "A.RECORD" ^�:�# T%=Q%*100+20:�#T%,P% h� P%=check% �do rQ%=Q%+1:� Q%>S% |:� next%>=0 pp%(check%)=next%:�# T%=next%*100+25:�#T%,0 � �#0:� � ���c(a%,b%):�a%:�b%:� � ���delete ��:�heading:�vdu(4,24) �6�"Record number to delete "H%:� H%>S% �vdu(2,24):� ��:T%=� "A.RECORD":A%=H%-5 �!�:�retrieve:� P%=99 �c(129,0) �� A%=H% �c(129,0) �P@%=&405:�A%,D%" "month$(M%)Y%;:� A%=H% �mf("|H "+payee$) � �mf(" "+payee$) �� A%=H% �c(129,0) �;�:�32:��=54:�money(Z%):�" ";:�money(B%):�c(1,128):� A%=A%+1:� A%>S% � A%=H%+5 %�# T%=(H%-1)*100+35:�#T%,bal%:�#0 J�vdu(15,24):�"Do you wish to delete this file ";:� �get("YN")=2 � �DXB &A%=H%:T%=� "A.RECORD" 0L�retrieve:B%=0:P%=99:�# T%=A%*100:�#T%,D%,M%,Y%,I%,P%,next%,Z%,B%,payee$ :$�:A%=A%+1:�retrieve:bal%=bal%+Z% D9�# T%=A%*100:�#T%,D%,M%,Y%,I%,P%,next%,Z%,bal%,payee$ N� A%=S%:�#0 X�vdu(2,24):� b l0��do:� next%>=0 � �# T%=next%*100+25:�#T%,Q% vnext%=Q%:� � �B��get_date:U%=� "A.DATE":�#U%,Y%,C%,W%,A%,O%,S%,D%,M%,I%:�#0:� � �`��heading:�mf("|I No. Date Text"+�32," ")+"Ammount Balance|."):��80,"-"):� � ���linked �F@%=&405:�12,14:�"Record number to start from "A%:� A%>=S% A%=S%-20 �:�:�mf("|I No. Date P% next% Text|.") ��vdu(3,24) �IT%=� "A.RECORD":�:�# T%=A%*100:�#T%,D%,M%,Y%,I%,P%,next%,Z%,B%,payee$ �� P%=99 �c(0,129) �@�A%" "day$(I%)D%" "month$(M%)Y%,P%,next%;:�mf(" "+payee$):� �A%=A%+1:� A%=S%:�#0 -@%=&90A:�mf(�15," ")+"|H Hit a key "):��� �15:�vdu(2,24):� ��load *$Q%=0:T%=�"A.FILE":�:�# T%=Q%*100 4e�#T%,pay%(Q%),fpay%(Q%),lpay%(Q%),flag%(Q%),n_pay%(Q%),freq%(Q%),st%(Q%),date%(Q%),pp%(Q%),p$(Q%) >Q%=Q%+1:� Q%>20:�#0 H �get_date R� \ f ��look p�:�heading:�vdu(4,24) z;�14:�"Record number to start from "A%:� A%>=S% A%=S%-20 ��:T%=� "A.RECORD" �!�:�retrieve:� P%=99 �c(0,129) �3@%=&405:�A%,D%" "month$(M%)Y%;:�mf(" "+payee$) �/�:�32:��=54:�money(Z%):�" ";:�money(B%) ��:A%=A%+1:� A%=S%:�#0 �-�15:�mf(�15," ")+"|H Hit a key "):*FX21,0 ����:�vdu(2,24):� � ���mf(a$):֓,a$:� � �,��money(m%):@%=&2020A:�m%/100;:@%=&90A:� � �D��retrieve:�# T%=A%*100:�#T%,D%,M%,Y%,I%,P%,next%,Z%,B%,payee$:� ��save �:�"Saving Data" $$Q%=0:T%=�"A.FILE":�:�# T%=Q%*100 .e�#T%,pay%(Q%),fpay%(Q%),lpay%(Q%),flag%(Q%),n_pay%(Q%),freq%(Q%),st%(Q%),date%(Q%),pp%(Q%),p$(Q%) 8Q%=Q%+1:� Q%>20:�#0 B�save_date L� V `C��save_date:U%=� "A.DATE":�#U%,Y%,C%,W%,A%,O%,S%,D%,M%,I%:�#0:� j t!��vdu(t%,b%):�28,0,b%,79,t%:� ~ � ݤcash �!`%=0:`$="0":d%=0:d$="0":po%=0 ��mo$:� mo$="" =0 �l%=�mo$:po%=�mo$,".") �� po%=1 � �dDD �*� po%=0 `$=mo$:� �dbD:� `$=�mo$,po%-1) �d$=�mo$,l%-po%) �� �d$=1 d$=d$+"0" �� `$="" `$=`$+"0" �`%=�(`$):d%=�(d$) �+� P%>=O% =(`%*100+d%)*(-1) � =`%*100+d% � ݤget(q$):*FX21,0 � K%=�q$,�):� K%<>0:=K% �
00000000 0d 00 0a 0b f4 20 3e 45 44 49 54 0d 00 14 31 f4 |..... >EDIT...1.| 00000010 20 3e 42 61 6e 6b 20 41 63 63 6f 75 6e 74 20 28 | >Bank Account (| 00000020 63 29 20 4d 20 43 6f 6d 6c 65 79 20 31 39 39 34 |c) M Comley 1994| 00000030 20 20 56 20 31 2e 32 20 4d 65 6e 75 0d 00 1e 13 | V 1.2 Menu....| 00000040 ef 31 39 2c 31 2c 32 3b 30 3b 32 36 2c 31 32 0d |.19,1,2;0;26,12.| 00000050 00 28 3c f2 6d 66 28 c4 32 30 2c 22 20 22 29 2b |.(<.mf(.20," ")+| 00000060 22 42 61 6e 6b 20 41 63 63 6f 75 6e 74 20 2d 20 |"Bank Account - | 00000070 7c 42 52 45 43 4f 52 44 20 45 44 49 54 4f 52 20 ||BRECORD EDITOR | 00000080 56 7c 4e 20 31 2e 32 7c 2e 22 29 0d 00 32 18 f1 |V|N 1.2|.")..2..| 00000090 c4 38 30 2c 22 2d 22 29 3a f2 76 64 75 28 32 2c |.80,"-"):.vdu(2,| 000000a0 32 34 29 0d 00 3c 30 f2 6d 66 28 22 7c 2e 7c 2e |24)..<0.mf("|.|.| 000000b0 7c 48 20 4c 6f 61 64 69 6e 67 20 44 61 74 61 20 ||H Loading Data | 000000c0 7c 4e 7c 49 20 50 6c 65 61 73 65 20 77 61 69 74 ||N|I Please wait| 000000d0 2e 22 29 0d 00 46 7b de 64 61 79 24 28 37 29 2c |.")..F{.day$(7),| 000000e0 6d 6f 6e 74 68 24 28 31 32 29 2c 6d 25 28 31 32 |month$(12),m%(12| 000000f0 29 2c 70 61 79 25 28 32 30 29 2c 66 70 61 79 25 |),pay%(20),fpay%| 00000100 28 32 30 29 2c 6c 70 61 79 25 28 32 30 29 2c 66 |(20),lpay%(20),f| 00000110 6c 61 67 25 28 32 30 29 2c 6e 5f 70 61 79 25 28 |lag%(20),n_pay%(| 00000120 32 30 29 2c 73 74 25 28 32 30 29 2c 64 61 74 65 |20),st%(20),date| 00000130 25 28 32 30 29 2c 66 72 65 71 25 28 32 30 29 2c |%(20),freq%(20),| 00000140 70 70 25 28 32 30 29 2c 70 24 28 32 30 29 0d 00 |pp%(20),p$(20)..| 00000150 50 2b 41 25 3d 30 3a 42 25 3d 30 3a 46 25 3d 30 |P+A%=0:B%=0:F%=0| 00000160 3a 47 25 3d a3 3a 4f 25 3d 36 3a 53 25 3d 30 3a |:G%=.:O%=6:S%=0:| 00000170 57 25 3d a3 3a 5a 25 3d 30 0d 00 5a 10 54 25 3d |W%=.:Z%=0..Z.T%=| 00000180 8e 22 41 2e 44 41 54 41 22 0d 00 64 28 e3 20 51 |."A.DATA"..d(. Q| 00000190 25 3d 31 20 b8 20 31 32 3a e8 23 54 25 2c 6d 6f |%=1 . 12:.#T%,mo| 000001a0 6e 74 68 24 28 51 25 29 2c 6d 25 28 51 25 29 3a |nth$(Q%),m%(Q%):| 000001b0 ed 0d 00 6e 1e e3 20 51 25 3d 31 20 b8 20 37 3a |...n.. Q%=1 . 7:| 000001c0 e8 23 54 25 2c 64 61 79 24 28 51 25 29 3a ed 0d |.#T%,day$(Q%):..| 000001d0 00 78 07 d9 23 30 0d 00 82 0f 2a 4c 4f 41 44 20 |.x..#0....*LOAD | 000001e0 24 26 43 30 33 0d 00 8c 0b f2 6c 6f 61 64 3a db |$&C03.....load:.| 000001f0 0d 00 96 04 0d 00 a0 0d f5 3a 2a 46 58 32 31 2c |.........:*FX21,| 00000200 30 0d 00 aa 05 db 0d 00 b4 1f d6 26 39 30 30 3a |0..........&900:| 00000210 4a 25 3d a4 67 65 74 28 bd 31 33 2b 22 4c 44 43 |J%=.get(.13+"LDC| 00000220 52 42 4a 22 29 0d 00 be 10 e7 20 4a 25 3d 32 20 |RBJ")..... J%=2 | 00000230 f2 6c 6f 6f 6b 0d 00 c8 12 e7 20 4a 25 3d 33 20 |.look..... J%=3 | 00000240 f2 64 65 6c 65 74 65 0d 00 d2 12 e7 20 4a 25 3d |.delete..... J%=| 00000250 34 20 f2 6c 69 6e 6b 65 64 0d 00 dc 23 e7 20 4a |4 .linked...#. J| 00000260 25 3d 35 20 f2 61 6d 65 6e 64 5f 6c 69 6e 6b 65 |%=5 .amend_linke| 00000270 64 5f 6c 69 73 74 3a f2 73 61 76 65 0d 00 e6 12 |d_list:.save....| 00000280 e7 20 4a 25 3d 36 20 d7 22 46 4c 45 58 22 0d 00 |. J%=6 ."FLEX"..| 00000290 f0 14 e7 20 4a 25 3d 37 20 d7 22 41 44 4a 55 53 |... J%=7 ."ADJUS| 000002a0 54 22 0d 00 fa 07 fd 20 30 0d 01 04 04 0d 01 0e |T"..... 0.......| 000002b0 17 dd f2 61 6d 65 6e 64 5f 6c 69 6e 6b 65 64 5f |...amend_linked_| 000002c0 6c 69 73 74 0d 01 18 05 db 0d 01 22 2e e3 20 51 |list.......".. Q| 000002d0 25 3d 30 20 b8 20 32 30 3a ef 51 25 2b 36 35 3a |%=0 . 20:.Q%+65:| 000002e0 f2 6d 66 28 22 20 20 22 2b 70 24 28 51 25 29 2b |.mf(" "+p$(Q%)+| 000002f0 22 7c 2e 22 29 3a ed 0d 01 2c 55 f2 6d 66 28 22 |"|."):...,U.mf("| 00000300 7c 49 41 6d 65 6e 64 20 6c 69 6e 6b 65 64 20 6c ||IAmend linked l| 00000310 69 73 74 20 7c 4e 7c 48 20 43 48 4f 4f 53 45 20 |ist |N|H CHOOSE | 00000320 7c 4e 7c 49 20 61 6e 20 69 74 65 6d 2c 20 6f 72 ||N|I an item, or| 00000330 20 7c 4e 7c 48 20 52 45 54 55 52 4e 20 7c 4e 7c | |N|H RETURN |N|| 00000340 49 20 74 6f 20 71 75 69 74 2e 22 29 0d 01 36 3c |I to quit.")..6<| 00000350 63 68 65 63 6b 25 3d a4 67 65 74 28 22 41 42 43 |check%=.get("ABC| 00000360 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f 50 51 52 53 |DEFGHIJKLMNOPQRS| 00000370 54 55 22 2b bd 31 33 29 2d 31 3a e7 20 63 68 65 |TU"+.13)-1:. che| 00000380 63 6b 25 3d 32 31 20 e1 0d 01 40 32 f2 6d 66 28 |ck%=21 ...@2.mf(| 00000390 22 20 7c 44 50 6c 65 61 73 65 20 77 61 69 74 20 |" |DPlease wait | 000003a0 61 6d 65 6e 64 69 6e 67 20 2d 20 7c 4e 22 2b 70 |amending - |N"+p| 000003b0 24 28 63 68 65 63 6b 25 29 29 0d 01 4a 11 51 25 |$(check%))..J.Q%| 000003c0 3d 30 3a 6e 65 78 74 25 3d 2d 31 0d 01 54 13 54 |=0:next%=-1..T.T| 000003d0 25 3d ad 20 22 41 2e 52 45 43 4f 52 44 22 0d 01 |%=. "A.RECORD"..| 000003e0 5e 1d f5 3a cf 23 20 54 25 3d 51 25 2a 31 30 30 |^..:.# T%=Q%*100| 000003f0 2b 32 30 3a e8 23 54 25 2c 50 25 0d 01 68 13 e7 |+20:.#T%,P%..h..| 00000400 20 50 25 3d 63 68 65 63 6b 25 20 f2 64 6f 0d 01 | P%=check% .do..| 00000410 72 13 51 25 3d 51 25 2b 31 3a fd 20 51 25 3e 53 |r.Q%=Q%+1:. Q%>S| 00000420 25 0d 01 7c 3a e7 20 6e 65 78 74 25 3e 3d 30 20 |%..|:. next%>=0 | 00000430 70 70 25 28 63 68 65 63 6b 25 29 3d 6e 65 78 74 |pp%(check%)=next| 00000440 25 3a cf 23 20 54 25 3d 6e 65 78 74 25 2a 31 30 |%:.# T%=next%*10| 00000450 30 2b 32 35 3a f1 23 54 25 2c 30 0d 01 86 09 d9 |0+25:.#T%,0.....| 00000460 23 30 3a e1 0d 01 90 05 20 0d 01 9a 18 dd f2 63 |#0:..... ......c| 00000470 28 61 25 2c 62 25 29 3a fb 61 25 3a fb 62 25 3a |(a%,b%):.a%:.b%:| 00000480 e1 0d 01 a4 05 20 0d 01 ae 0c dd f2 64 65 6c 65 |..... ......dele| 00000490 74 65 0d 01 b8 19 db 3a f2 68 65 61 64 69 6e 67 |te.....:.heading| 000004a0 3a f2 76 64 75 28 34 2c 32 34 29 0d 01 c2 36 e8 |:.vdu(4,24)...6.| 000004b0 22 52 65 63 6f 72 64 20 6e 75 6d 62 65 72 20 74 |"Record number t| 000004c0 6f 20 64 65 6c 65 74 65 20 22 48 25 3a e7 20 48 |o delete "H%:. H| 000004d0 25 3e 53 25 20 f2 76 64 75 28 32 2c 32 34 29 3a |%>S% .vdu(2,24):| 000004e0 e1 0d 01 cc 1d db 3a 54 25 3d 8e 20 22 41 2e 52 |......:T%=. "A.R| 000004f0 45 43 4f 52 44 22 3a 41 25 3d 48 25 2d 35 0d 01 |ECORD":A%=H%-5..| 00000500 d6 21 f5 3a f2 72 65 74 72 69 65 76 65 3a e7 20 |.!.:.retrieve:. | 00000510 50 25 3d 39 39 20 f2 63 28 31 32 39 2c 30 29 0d |P%=99 .c(129,0).| 00000520 01 e0 15 e7 20 41 25 3d 48 25 20 f2 63 28 31 32 |.... A%=H% .c(12| 00000530 39 2c 30 29 0d 01 ea 50 40 25 3d 26 34 30 35 3a |9,0)...P@%=&405:| 00000540 f1 41 25 2c 44 25 22 20 22 6d 6f 6e 74 68 24 28 |.A%,D%" "month$(| 00000550 4d 25 29 59 25 3b 3a e7 20 41 25 3d 48 25 20 f2 |M%)Y%;:. A%=H% .| 00000560 6d 66 28 22 7c 48 20 20 22 2b 70 61 79 65 65 24 |mf("|H "+payee$| 00000570 29 20 8b 20 f2 6d 66 28 22 20 20 22 2b 70 61 79 |) . .mf(" "+pay| 00000580 65 65 24 29 0d 01 f4 15 e7 20 41 25 3d 48 25 20 |ee$)..... A%=H% | 00000590 f2 63 28 31 32 39 2c 30 29 0d 01 fe 3b f5 3a ef |.c(129,0)...;.:.| 000005a0 33 32 3a fd b1 3d 35 34 3a f2 6d 6f 6e 65 79 28 |32:..=54:.money(| 000005b0 5a 25 29 3a f1 22 20 20 20 20 20 22 3b 3a f2 6d |Z%):." ";:.m| 000005c0 6f 6e 65 79 28 42 25 29 3a f2 63 28 31 2c 31 32 |oney(B%):.c(1,12| 000005d0 38 29 3a f1 0d 02 08 1d 41 25 3d 41 25 2b 31 3a |8):.....A%=A%+1:| 000005e0 fd 20 41 25 3e 53 25 20 84 20 41 25 3d 48 25 2b |. A%>S% . A%=H%+| 000005f0 35 0d 02 12 25 cf 23 20 54 25 3d 28 48 25 2d 31 |5...%.# T%=(H%-1| 00000600 29 2a 31 30 30 2b 33 35 3a e8 23 54 25 2c 62 61 |)*100+35:.#T%,ba| 00000610 6c 25 3a d9 23 30 0d 02 1c 4a f2 76 64 75 28 31 |l%:.#0...J.vdu(1| 00000620 35 2c 32 34 29 3a f1 22 44 6f 20 79 6f 75 20 77 |5,24):."Do you w| 00000630 69 73 68 20 74 6f 20 64 65 6c 65 74 65 20 74 68 |ish to delete th| 00000640 69 73 20 66 69 6c 65 20 22 3b 3a e7 20 a4 67 65 |is file ";:. .ge| 00000650 74 28 22 59 4e 22 29 3d 32 20 8c 20 8d 44 58 42 |t("YN")=2 . .DXB| 00000660 0d 02 26 19 41 25 3d 48 25 3a 54 25 3d ad 20 22 |..&.A%=H%:T%=. "| 00000670 41 2e 52 45 43 4f 52 44 22 0d 02 30 4c f2 72 65 |A.RECORD"..0L.re| 00000680 74 72 69 65 76 65 3a 42 25 3d 30 3a 50 25 3d 39 |trieve:B%=0:P%=9| 00000690 39 3a cf 23 20 54 25 3d 41 25 2a 31 30 30 3a f1 |9:.# T%=A%*100:.| 000006a0 23 54 25 2c 44 25 2c 4d 25 2c 59 25 2c 49 25 2c |#T%,D%,M%,Y%,I%,| 000006b0 50 25 2c 6e 65 78 74 25 2c 5a 25 2c 42 25 2c 70 |P%,next%,Z%,B%,p| 000006c0 61 79 65 65 24 0d 02 3a 24 f5 3a 41 25 3d 41 25 |ayee$..:$.:A%=A%| 000006d0 2b 31 3a f2 72 65 74 72 69 65 76 65 3a 62 61 6c |+1:.retrieve:bal| 000006e0 25 3d 62 61 6c 25 2b 5a 25 0d 02 44 39 cf 23 20 |%=bal%+Z%..D9.# | 000006f0 54 25 3d 41 25 2a 31 30 30 3a f1 23 54 25 2c 44 |T%=A%*100:.#T%,D| 00000700 25 2c 4d 25 2c 59 25 2c 49 25 2c 50 25 2c 6e 65 |%,M%,Y%,I%,P%,ne| 00000710 78 74 25 2c 5a 25 2c 62 61 6c 25 2c 70 61 79 65 |xt%,Z%,bal%,paye| 00000720 65 24 0d 02 4e 0f fd 20 41 25 3d 53 25 3a d9 23 |e$..N.. A%=S%:.#| 00000730 30 0d 02 58 10 f2 76 64 75 28 32 2c 32 34 29 3a |0..X..vdu(2,24):| 00000740 e1 0d 02 62 04 0d 02 6c 30 dd f2 64 6f 3a e7 20 |...b...l0..do:. | 00000750 6e 65 78 74 25 3e 3d 30 20 8c 20 cf 23 20 54 25 |next%>=0 . .# T%| 00000760 3d 6e 65 78 74 25 2a 31 30 30 2b 32 35 3a f1 23 |=next%*100+25:.#| 00000770 54 25 2c 51 25 0d 02 76 0e 6e 65 78 74 25 3d 51 |T%,Q%..v.next%=Q| 00000780 25 3a e1 0d 02 80 04 0d 02 8a 42 dd f2 67 65 74 |%:........B..get| 00000790 5f 64 61 74 65 3a 55 25 3d ad 20 22 41 2e 44 41 |_date:U%=. "A.DA| 000007a0 54 45 22 3a e8 23 55 25 2c 59 25 2c 43 25 2c 57 |TE":.#U%,Y%,C%,W| 000007b0 25 2c 41 25 2c 4f 25 2c 53 25 2c 44 25 2c 4d 25 |%,A%,O%,S%,D%,M%| 000007c0 2c 49 25 3a d9 23 30 3a e1 0d 02 94 05 20 0d 02 |,I%:.#0:..... ..| 000007d0 9e 60 dd f2 68 65 61 64 69 6e 67 3a f2 6d 66 28 |.`..heading:.mf(| 000007e0 22 7c 49 20 4e 6f 2e 20 20 20 20 20 20 44 61 74 |"|I No. Dat| 000007f0 65 20 20 20 20 20 20 20 54 65 78 74 22 2b c4 33 |e Text"+.3| 00000800 32 2c 22 20 22 29 2b 22 41 6d 6d 6f 75 6e 74 20 |2," ")+"Ammount | 00000810 20 20 20 20 20 20 20 42 61 6c 61 6e 63 65 7c 2e | Balance|.| 00000820 22 29 3a f1 c4 38 30 2c 22 2d 22 29 3a e1 0d 02 |"):..80,"-"):...| 00000830 a8 04 0d 02 b2 0c dd f2 6c 69 6e 6b 65 64 0d 02 |........linked..| 00000840 bc 46 40 25 3d 26 34 30 35 3a ef 31 32 2c 31 34 |.F@%=&405:.12,14| 00000850 3a e8 22 52 65 63 6f 72 64 20 6e 75 6d 62 65 72 |:."Record number| 00000860 20 74 6f 20 73 74 61 72 74 20 66 72 6f 6d 20 22 | to start from "| 00000870 41 25 3a e7 20 41 25 3e 3d 53 25 20 41 25 3d 53 |A%:. A%>=S% A%=S| 00000880 25 2d 32 30 0d 02 c6 3a db 3a f2 6d 66 28 22 7c |%-20...:.:.mf("|| 00000890 49 20 20 4e 6f 2e 20 20 20 20 20 20 20 20 20 44 |I No. D| 000008a0 61 74 65 20 20 20 20 20 20 20 20 20 20 50 25 20 |ate P% | 000008b0 6e 65 78 74 25 20 54 65 78 74 7c 2e 22 29 0d 02 |next% Text|.")..| 000008c0 d0 0e f2 76 64 75 28 33 2c 32 34 29 0d 02 da 49 |...vdu(3,24)...I| 000008d0 54 25 3d 8e 20 22 41 2e 52 45 43 4f 52 44 22 3a |T%=. "A.RECORD":| 000008e0 f5 3a cf 23 20 54 25 3d 41 25 2a 31 30 30 3a e8 |.:.# T%=A%*100:.| 000008f0 23 54 25 2c 44 25 2c 4d 25 2c 59 25 2c 49 25 2c |#T%,D%,M%,Y%,I%,| 00000900 50 25 2c 6e 65 78 74 25 2c 5a 25 2c 42 25 2c 70 |P%,next%,Z%,B%,p| 00000910 61 79 65 65 24 0d 02 e4 15 e7 20 50 25 3d 39 39 |ayee$..... P%=99| 00000920 20 f2 63 28 30 2c 31 32 39 29 0d 02 ee 40 f1 41 | .c(0,129)...@.A| 00000930 25 22 20 22 64 61 79 24 28 49 25 29 44 25 22 20 |%" "day$(I%)D%" | 00000940 22 6d 6f 6e 74 68 24 28 4d 25 29 59 25 2c 50 25 |"month$(M%)Y%,P%| 00000950 2c 6e 65 78 74 25 3b 3a f2 6d 66 28 22 20 20 22 |,next%;:.mf(" "| 00000960 2b 70 61 79 65 65 24 29 3a f1 0d 02 f8 17 41 25 |+payee$):.....A%| 00000970 3d 41 25 2b 31 3a fd 20 41 25 3d 53 25 3a d9 23 |=A%+1:. A%=S%:.#| 00000980 30 0d 03 02 2d 40 25 3d 26 39 30 41 3a f2 6d 66 |0...-@%=&90A:.mf| 00000990 28 c4 31 35 2c 22 20 22 29 2b 22 7c 48 20 48 69 |(.15," ")+"|H Hi| 000009a0 74 20 61 20 6b 65 79 20 22 29 3a f5 fd a5 0d 03 |t a key "):.....| 000009b0 0c 14 ef 31 35 3a f2 76 64 75 28 32 2c 32 34 29 |...15:.vdu(2,24)| 000009c0 3a e1 0d 03 16 05 20 0d 03 20 0a dd f2 6c 6f 61 |:..... .. ...loa| 000009d0 64 0d 03 2a 24 51 25 3d 30 3a 54 25 3d 8e 22 41 |d..*$Q%=0:T%=."A| 000009e0 2e 46 49 4c 45 22 3a f5 3a cf 23 20 54 25 3d 51 |.FILE":.:.# T%=Q| 000009f0 25 2a 31 30 30 0d 03 34 65 e8 23 54 25 2c 70 61 |%*100..4e.#T%,pa| 00000a00 79 25 28 51 25 29 2c 66 70 61 79 25 28 51 25 29 |y%(Q%),fpay%(Q%)| 00000a10 2c 6c 70 61 79 25 28 51 25 29 2c 66 6c 61 67 25 |,lpay%(Q%),flag%| 00000a20 28 51 25 29 2c 6e 5f 70 61 79 25 28 51 25 29 2c |(Q%),n_pay%(Q%),| 00000a30 66 72 65 71 25 28 51 25 29 2c 73 74 25 28 51 25 |freq%(Q%),st%(Q%| 00000a40 29 2c 64 61 74 65 25 28 51 25 29 2c 70 70 25 28 |),date%(Q%),pp%(| 00000a50 51 25 29 2c 70 24 28 51 25 29 0d 03 3e 17 51 25 |Q%),p$(Q%)..>.Q%| 00000a60 3d 51 25 2b 31 3a fd 20 51 25 3e 32 30 3a d9 23 |=Q%+1:. Q%>20:.#| 00000a70 30 0d 03 48 0d f2 67 65 74 5f 64 61 74 65 0d 03 |0..H..get_date..| 00000a80 52 05 e1 0d 03 5c 05 20 0d 03 66 0a dd f2 6c 6f |R....\. ..f...lo| 00000a90 6f 6b 0d 03 70 19 db 3a f2 68 65 61 64 69 6e 67 |ok..p..:.heading| 00000aa0 3a f2 76 64 75 28 34 2c 32 34 29 0d 03 7a 3b ef |:.vdu(4,24)..z;.| 00000ab0 31 34 3a e8 22 52 65 63 6f 72 64 20 6e 75 6d 62 |14:."Record numb| 00000ac0 65 72 20 74 6f 20 73 74 61 72 74 20 66 72 6f 6d |er to start from| 00000ad0 20 22 41 25 3a e7 20 41 25 3e 3d 53 25 20 41 25 | "A%:. A%>=S% A%| 00000ae0 3d 53 25 2d 32 30 0d 03 84 15 db 3a 54 25 3d 8e |=S%-20.....:T%=.| 00000af0 20 22 41 2e 52 45 43 4f 52 44 22 0d 03 8e 21 f5 | "A.RECORD"...!.| 00000b00 3a f2 72 65 74 72 69 65 76 65 3a e7 20 50 25 3d |:.retrieve:. P%=| 00000b10 39 39 20 f2 63 28 30 2c 31 32 39 29 0d 03 98 33 |99 .c(0,129)...3| 00000b20 40 25 3d 26 34 30 35 3a f1 41 25 2c 44 25 22 20 |@%=&405:.A%,D%" | 00000b30 22 6d 6f 6e 74 68 24 28 4d 25 29 59 25 3b 3a f2 |"month$(M%)Y%;:.| 00000b40 6d 66 28 22 20 20 22 2b 70 61 79 65 65 24 29 0d |mf(" "+payee$).| 00000b50 03 a2 2f f5 3a ef 33 32 3a fd b1 3d 35 34 3a f2 |../.:.32:..=54:.| 00000b60 6d 6f 6e 65 79 28 5a 25 29 3a f1 22 20 20 20 20 |money(Z%):." | 00000b70 20 22 3b 3a f2 6d 6f 6e 65 79 28 42 25 29 0d 03 | ";:.money(B%)..| 00000b80 ac 19 f1 3a 41 25 3d 41 25 2b 31 3a fd 20 41 25 |...:A%=A%+1:. A%| 00000b90 3d 53 25 3a d9 23 30 0d 03 b6 2d ef 31 35 3a f2 |=S%:.#0...-.15:.| 00000ba0 6d 66 28 c4 31 35 2c 22 20 22 29 2b 22 7c 48 20 |mf(.15," ")+"|H | 00000bb0 48 69 74 20 61 20 6b 65 79 20 22 29 3a 2a 46 58 |Hit a key "):*FX| 00000bc0 32 31 2c 30 0d 03 c0 14 f5 fd a5 3a f2 76 64 75 |21,0.......:.vdu| 00000bd0 28 32 2c 32 34 29 3a e1 0d 03 ca 05 20 0d 03 d4 |(2,24):..... ...| 00000be0 14 dd f2 6d 66 28 61 24 29 3a d6 93 2c 61 24 3a |...mf(a$):..,a$:| 00000bf0 e1 0d 03 de 05 20 0d 03 e8 2c dd f2 6d 6f 6e 65 |..... ...,..mone| 00000c00 79 28 6d 25 29 3a 40 25 3d 26 32 30 32 30 41 3a |y(m%):@%=&2020A:| 00000c10 f1 6d 25 2f 31 30 30 3b 3a 40 25 3d 26 39 30 41 |.m%/100;:@%=&90A| 00000c20 3a e1 0d 03 f2 05 20 0d 03 fc 44 dd f2 72 65 74 |:..... ...D..ret| 00000c30 72 69 65 76 65 3a cf 23 20 54 25 3d 41 25 2a 31 |rieve:.# T%=A%*1| 00000c40 30 30 3a e8 23 54 25 2c 44 25 2c 4d 25 2c 59 25 |00:.#T%,D%,M%,Y%| 00000c50 2c 49 25 2c 50 25 2c 6e 65 78 74 25 2c 5a 25 2c |,I%,P%,next%,Z%,| 00000c60 42 25 2c 70 61 79 65 65 24 3a e1 0d 04 06 05 20 |B%,payee$:..... | 00000c70 0d 04 10 0a dd f2 73 61 76 65 0d 04 1a 14 db 3a |......save.....:| 00000c80 f1 22 53 61 76 69 6e 67 20 44 61 74 61 22 0d 04 |."Saving Data"..| 00000c90 24 24 51 25 3d 30 3a 54 25 3d ad 22 41 2e 46 49 |$$Q%=0:T%=."A.FI| 00000ca0 4c 45 22 3a f5 3a cf 23 20 54 25 3d 51 25 2a 31 |LE":.:.# T%=Q%*1| 00000cb0 30 30 0d 04 2e 65 f1 23 54 25 2c 70 61 79 25 28 |00...e.#T%,pay%(| 00000cc0 51 25 29 2c 66 70 61 79 25 28 51 25 29 2c 6c 70 |Q%),fpay%(Q%),lp| 00000cd0 61 79 25 28 51 25 29 2c 66 6c 61 67 25 28 51 25 |ay%(Q%),flag%(Q%| 00000ce0 29 2c 6e 5f 70 61 79 25 28 51 25 29 2c 66 72 65 |),n_pay%(Q%),fre| 00000cf0 71 25 28 51 25 29 2c 73 74 25 28 51 25 29 2c 64 |q%(Q%),st%(Q%),d| 00000d00 61 74 65 25 28 51 25 29 2c 70 70 25 28 51 25 29 |ate%(Q%),pp%(Q%)| 00000d10 2c 70 24 28 51 25 29 0d 04 38 17 51 25 3d 51 25 |,p$(Q%)..8.Q%=Q%| 00000d20 2b 31 3a fd 20 51 25 3e 32 30 3a d9 23 30 0d 04 |+1:. Q%>20:.#0..| 00000d30 42 0e f2 73 61 76 65 5f 64 61 74 65 0d 04 4c 05 |B..save_date..L.| 00000d40 e1 0d 04 56 05 20 0d 04 60 43 dd f2 73 61 76 65 |...V. ..`C..save| 00000d50 5f 64 61 74 65 3a 55 25 3d ad 20 22 41 2e 44 41 |_date:U%=. "A.DA| 00000d60 54 45 22 3a f1 23 55 25 2c 59 25 2c 43 25 2c 57 |TE":.#U%,Y%,C%,W| 00000d70 25 2c 41 25 2c 4f 25 2c 53 25 2c 44 25 2c 4d 25 |%,A%,O%,S%,D%,M%| 00000d80 2c 49 25 3a d9 23 30 3a e1 0d 04 6a 05 20 0d 04 |,I%:.#0:...j. ..| 00000d90 74 21 dd f2 76 64 75 28 74 25 2c 62 25 29 3a ef |t!..vdu(t%,b%):.| 00000da0 32 38 2c 30 2c 62 25 2c 37 39 2c 74 25 3a e1 0d |28,0,b%,79,t%:..| 00000db0 04 7e 05 20 0d 04 88 0a dd a4 63 61 73 68 0d 04 |.~. ......cash..| 00000dc0 92 21 60 25 3d 30 3a 60 24 3d 22 30 22 3a 64 25 |.!`%=0:`$="0":d%| 00000dd0 3d 30 3a 64 24 3d 22 30 22 3a 70 6f 25 3d 30 0d |=0:d$="0":po%=0.| 00000de0 04 9c 14 e8 6d 6f 24 3a e7 20 6d 6f 24 3d 22 22 |....mo$:. mo$=""| 00000df0 20 3d 30 0d 04 a6 19 6c 25 3d a9 6d 6f 24 3a 70 | =0....l%=.mo$:p| 00000e00 6f 25 3d a7 6d 6f 24 2c 22 2e 22 29 0d 04 b0 12 |o%=.mo$,".")....| 00000e10 e7 20 70 6f 25 3d 31 20 8c 20 8d 64 44 44 0d 04 |. po%=1 . .dDD..| 00000e20 ba 2a e7 20 70 6f 25 3d 30 20 60 24 3d 6d 6f 24 |.*. po%=0 `$=mo$| 00000e30 3a e5 20 8d 64 62 44 3a 8b 20 60 24 3d c0 6d 6f |:. .dbD:. `$=.mo| 00000e40 24 2c 70 6f 25 2d 31 29 0d 04 c4 13 64 24 3d c2 |$,po%-1)....d$=.| 00000e50 6d 6f 24 2c 6c 25 2d 70 6f 25 29 0d 04 ce 15 e7 |mo$,l%-po%).....| 00000e60 20 a9 64 24 3d 31 20 64 24 3d 64 24 2b 22 30 22 | .d$=1 d$=d$+"0"| 00000e70 0d 04 d8 15 e7 20 60 24 3d 22 22 20 60 24 3d 60 |..... `$="" `$=`| 00000e80 24 2b 22 30 22 0d 04 e2 15 60 25 3d a0 28 60 24 |$+"0"....`%=.(`$| 00000e90 29 3a 64 25 3d a0 28 64 24 29 0d 04 ec 2b e7 20 |):d%=.(d$)...+. | 00000ea0 50 25 3e 3d 4f 25 20 3d 28 60 25 2a 31 30 30 2b |P%>=O% =(`%*100+| 00000eb0 64 25 29 2a 28 2d 31 29 20 8b 20 3d 60 25 2a 31 |d%)*(-1) . =`%*1| 00000ec0 30 30 2b 64 25 0d 04 f6 05 20 0d 05 00 15 dd a4 |00+d%.... ......| 00000ed0 67 65 74 28 71 24 29 3a 2a 46 58 32 31 2c 30 0d |get(q$):*FX21,0.| 00000ee0 05 0a 1b f5 20 4b 25 3d a7 71 24 2c be 29 3a fd |.... K%=.q$,.):.| 00000ef0 20 4b 25 3c 3e 30 3a 3d 4b 25 0d ff | K%<>0:=K%..| 00000efc