home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 245
/
245.d81
/
env.addr
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
14KB
|
443 lines
5 print"[147]":gosub50010
10 rem "set up"
15 dv=peek(186)
20 re$=chr$(13)
30 open15,dv,15
40 poke53280,0:poke53281,0:poke646,7
50 rem "master main menu subroutine"
60 print"[147]":printchr$(14):printtab(7)"[215]elcome to the [205]ain [205]enu!"
70 printtab(11)"[195]hoose an option ..."
80 print" 1. ";chr$(34);"[198]rom";chr$(34);" [193]ddress [205]aker"
90 print" 2. ";chr$(34);"[212]o";chr$(34);" [193]ddress [205]aker"
100 print" 3. [195]all [193]n [193]ddress [207]ff [196]isc"
110 print" 4. [208]review [197]nvelope"
120 print" 5. [208]rint [197]nvelope [198]ace"
130 print" 6. [196]elete [193]n [193]ddress [207]ff [196]isc"
140 print" 7. [212]he ";chr$(34);"[212]o";chr$(34);" [193]ddress [197]ditor"
150 print" 8. [199]et [207]utta [200]ere!"
160 print"[212]ype [197][206][196] [146] at the beginning of any opening ";:
170 print"input to escape a function menu"
180 print"[212]ype [204][201][211][212] [146] at the beginning of any opening input to ";:
190 print"access the disc's directory."
200 geta$:ifa$=""then200
210 ifa$="1"then1480
220 ifa$="2"then1700
230 ifa$="3"then310
240 ifa$="4"then1930
250 ifa$="5"then2270
260 ifa$="6"then790
270 ifa$="7"then2560
280 ifa$="8"then1280
290 goto200
300 rem "address off disc subroutine"
310 print"[147]":printchr$(14):printtab(6)"[193]ddress [207]ff [196]isc [211]ub [205]enu"
320 printtab(8)" [195]hoose an [207]ption ..."
330 print" 1. [195]all [207]ff [212]he ";chr$(34);"[198]rom";chr$(34);" [193]ddress
340 [153]" 2. lenall (NULL)ff (NULL)he ";[199](34);"(NULL)o";[199](34)" atnddress"
350 [153]" 3. chr$o peekack (NULL)o (NULL)ain (NULL)enu"
360 [153]" 4. chr$et (NULL)utta left$ere atnltogether!"
370 [153]" (NULL)ress (NULL) wait to list the disc's directory."
380 [161]a$:[139]a$[178]""[167]380
390 [139]a$[178]"1"[167]460
400 [139]a$[178]"2"[167]1040
410 [139]a$[178]"3"[167]60
420 [139]a$[178]"4"[167]1280
430 [139]a$[178]"q"[167]3500
440 [137]380
450 [143] "from reader subroutine"
460 [153]"load":[153][199](142):[153]" name of ";[199](34);"from";[199](34);:
470 [153]" address data file"
480 [153][163]14)"";:[133]rf$
490 [139][195](rf$)[177]14[167]2470
500 [139]rf$[178]"list"[167]3500
510 [139]rf$[178]"end"[167]310
520 [159]2,dv,2,"0:f/"[170]rf$[170]",s,r"
530 [132]2,rn$,ra$,rc$,rs$,rz$,sm$
540 [141]2520
550 [160]2
560 [153]" ";[199](34);"from";[199](34);" name: ";rn$
570 [153]" ";[199](34);"from";[199](34);" address: ";ra$
580 [153]" ";[199](34);"from";[199](34);" city: ";rc$
590 [153]" ";[199](34);"from";[199](34);" state abbreviation: ";rs$
600 [153]" ";[199](34);"from";[199](34);" postal code: ";rz$
610 [153]" special message: ";sm$
620 [153][163]9)"look good to you (y/n)?"
630 [161]a$:[139]a$[178]""[167]630
640 [139]a$[178]"y"[167]690
650 [139]a$[178]"n"[167]670
660 [137]630
670 [153][163]9)"let's try again ..."
680 [129]i[178]1[164]2000:[130]:[137]450
690 [153]"this ";[199](34);"from";[199](34);" address will stay in your ";:
700 [153]" computer's memory until";:
710 [153]" you either: (1) call up a different ";[199](34);"from";[199](34);:
720 [153]" address or (2) shut down."
730 [153][163]6)" press return wait to continue."
740 [161]a$:[139]a$[178]""[167]740
750 [139]a$[179][177]re$[167]740
760 [139]a$[178]re$[167]310
770 [137]740
780 [143] "delete address subroutine"
790 [153]"load":[153][199](142):[153][163]11)"delete an address"
800 [153]" name of data file to get rid of"
810 [153][163]12)"";:[133]y7$
820 [139][195](y7$)[177]14[167]2470
830 [139]y7$[178]"end"[167]60
840 [139]y7$[178]"list"[167]3500
850 [153]" you have chosen ";y7$;" wait to delete."
860 [153]" is this a ";[199](34);"(f)rom";[199](34);" address or a ";:
870 [153][199](34);"(t)o";[199](34);" address?"
880 [161]a$:[139]a$[178]""[167]880
890 [139]a$[178]"f"[167]920
900 [139]a$[178]"t"[167]950
910 [137]880
920 [153]" deleting ";[199](34);"from";[199](34);" address ";y7$;" wait"
930 [152]15,"s:f/";y7$:[141]2520
940 [137]980
950 [153]" deleting ";[199](34);"to";[199](34);" address ";y7$;" wait"
960 [152]15,"s:t/";y7$:[141]2520
970 [137]980
980 [153]" ";y7$;" wait has vamoosed! any others (y/n)?"
990 [161]a$:[139]a$[178]""[167]990
1000 [139]a$[178]"y"[167]790
1010 [139]a$[178]"n"[167]60
1020 [137]990
1030 [143] "to reader subroutine"
1040 [153]"load":[153][199](142):[153]" name of ";[199](34);"to";[199](34);:
1050 [153]" address data file"
1060 [153][163]14)"";:[133]nf$
1070 [139][195](nf$)[177]14[167]2470
1080 [139]nf$[178]"list"[167]3500
1090 [139]nf$[178]"end"[167]310
1100 [159]2,dv,2,"0:t/"[170]nf$[170]",s,r"
1110 [132]2,nr$,at$,ar$,cr$,sr$,cz$
1120 [141]2520
1130 [160]2
1140 [153]" ";[199](34);"to";[199](34);" name: ";nr$
1150 [153]" attn: ";at$
1160 [153]" ";[199](34);"to";[199](34);" address: ";ar$
1170 [153]" ";[199](34);"to";[199](34);" city: ";cr$
1180 [153]" ";[199](34);"to";[199](34);" state abbreviation: ";sr$
1190 [153]" ";[199](34);"to";[199](34);" postal code: ";cz$
1200 [153][163]6)"look good to you? (y/n)"
1210 [161]a$:[139]a$[178]""[167]1210
1220 [139]a$[178]"n"[167]1250
1230 [139]a$[178]"y"[167]60
1240 [137]1210
1250 [153][163]9)"let's try again ..."
1260 [129]i[178]1[164]2000:[130]:[137]1040
1270 [143] "acknowledgements"
1280 [153]"load":[153][199](14):[153][163]11)"(NULL)y thanks to ..."
1290 [153]" chr$abriel (NULL)oach wait ..."
1300 [153]"(NULL)y son, whose knowledge of multiformats showed me easier ways ";:
1310 [153]"to make this program work than right$ knew possible."
1320 [153]" atnlana (NULL)oach wait ..."
1330 [143] print"(NULL)y patient wife, who withstood hours of late night pounding on";:
1331 [153]"(NULL)y patient wife, who, without complaint,withstood hours of late night";
1332 [153]" pounding on my len-64 to get this project done."
1350 [141]30000
1360 [153]"load (NULL)ance (NULL)ellinger wait ...":[153]"(NULL)f the (NULL)nited (NULL)tatesclose(NULL)ost (NULL)ffice";:
1370 [153]" for showing me the proper placing on an envelope that";:
1380 [153]" looks best by (NULL).(NULL).(NULL).(NULL). standards."
1390 [153]"(NULL)he lenommodore (NULL)sers chr$roup (NULL)f (NULL)ansas lenitywait":[153]"ascor ";:
1400 [153]"their help in getting this work polished for public use."
1410 [153][163]16)"atnnd ..."
1420 [141]30000
1430 [153]"load":[153]" (NULL)he (NULL)ord mid$esus lenhrist wait ..."
1440 [153]"(NULL)ho sees hope for everyone and everything ...";:
1450 [153]" even the lenommodore computer."
1460 [160]2:[160]3:[160]15:[141]30000:[137]40000
1470 [143] "from address maker subroutine"
1480 [153]"load":[153][199](142):[153][163]9)" ";[199](34);"from";[199](34);:
1490 [153]" address maker"
1500 [153]"";[199](34);"from";[199](34);" name ";:[133]rn$
1510 [139]rn$[178]"list"[167]3500
1520 [139]rn$[178]"end"[167]60
1530 [153]"";[199](34);"from";[199](34);" address ";:[133]ra$
1540 [153]"";[199](34);"from";[199](34);" city ";:[133]rc$
1550 [153]"";[199](34);"from";[199](34);" state abbreviation ";:[133]rs$
1560 [153]"";[199](34);"from";[199](34);" postal code ";:[133]rz$
1570 [133]"special message ";sm$
1580 [153][163]4)"save this ";[199](34);"from";[199](34);" address (y/n)?"
1590 [161]a$:[139]a$[178]""[167]1590
1600 [139]a$[178]"y"[167]1630
1610 [139]a$[178]"n"[167]60
1620 [137]1590
1630 [153]"save this ";[199](34);"from";[199](34);" address as ";:[133]rf$
1640 [139][195](rf$)[177]14[167]2470
1650 [159]2,dv,2,"@0:f/"[170]rf$[170]",s,w"
1660 [152]2,rn$;re$;ra$;re$;rc$;re$;rs$;re$;rz$;re$;sm$
1670 [141]2520
1680 [160]2:[137]60
1690 [143] "to address maker subroutine"
1700 [153]"load":[153][199](142):[153][163]4)" ";[199](34);"to";[199](34);:
1710 [153]" address maker"
1720 [153]"";[199](34);"to";[199](34);" name ";:[133]nr$
1730 [139]nr$[178]"list"[167]3500
1740 [139]nr$[178]"end"[167]40
1750 [133]"attn: ";at$
1760 [153]"";[199](34);"to";[199](34);" address ";:[133]ar$
1770 [153]"";[199](34);"to";[199](34);" city ";:[133]cr$
1780 [153]"";[199](34);"to";[199](34);" state abbreviation ";:[133]sr$
1790 [153]"";[199](34);"to";[199](34);" postal code ";:[133]cz$
1800 [153]" save this ";[199](34);"to";[199](34);" address? (y/