home *** CD-ROM | disk | FTP | other *** search
/ Commodore Disk User Volume 4 #11 / Commodore_Disk_User_Vol.4_11_1991_-.d64 / ldmenu.bas (.txt) < prev    next >
Commodore BASIC  |  2022-10-26  |  521b  |  28 lines

  1. 10000 rem load menu
  2. 10010 print
  3. 10020 print "load menu, quit, or repeat (m,q,r)? "
  4. 10030 get a$:if a$="" then 10030
  5. 10040 if a$="r" then 100
  6. 10050 if a$<>"q" then 10100
  7. 10090 print "[147]":end
  8. 10100 if a$<>"m" then 10030
  9. 10110 open 15,8,15,"r0:file menu=file menu"
  10. 10120 input#15,en,em$,et,es:close15
  11. 10130 if en=63 then fi$="file menu":goto 10160
  12. 10140 print "error - file menu not found"
  13. 10150 goto 10020
  14. 10160 poke 646,0
  15. 10170 print"[147]"chr$(13)
  16. 10180 print"load"chr$(34)+fi$+chr$(34)",8"
  17. 10190 print "run"
  18. 10200 poke 646,1
  19. 10210 print"loading "fi$
  20. 10220 poke 646,0
  21. 10230 poke 631,19
  22. 10240 poke 632,17
  23. 10250 poke 633,17
  24. 10260 poke 634,13
  25. 10270 poke 635,13
  26. 10280 poke 198,5
  27. 10290 new
  28.