0KEY(2) ON:ON KEY(2) GOSUB 65140 10 DIM PROG$(64) 20 SCREEN 0:KEY OFF:KEY 1,"run"+CHR$(34)+"basmenu"+CHR$(13) 30 CLS:WIDTH 80:COLOR 0,0:FILES "*.bas" 40 FOR DR%=1 TO 24 50 FOR DC%=0 TO 65 STEP 13 60 IF CHR$(SCREEN(DR%,DC%+1)) = " " THEN 130 70 AR%=AR%+1 80 FOR L%=1 TO 8 90 PROG$(AR%)=PROG$(AR%)+CHR$(SCREEN(DR%,DC%+L%)) 100 NEXT L% 110 NEXT DC% 120 NEXT DR% 130 P=0:I%=0:CLS:WIDTH 40:LOCATE 1,4:COLOR 14,0 135 PRINT "BASIC programs on this diskette:" 140 FOR DC%=1 TO 27 STEP 13 150 FOR DR%=3 TO 23 160 I%=I%+1 170 IF PROG$(I%)="" THEN 200 ELSE LOCATE DR%,DC% 175 COLOR 0,7:PRINT USING "##";I%; 176 COLOR 7,0:PRINT " ";PROG$(I%) 180 NEXT DR% 190 NEXT DC% 200 LOCATE 25,1:INPUT "Enter number of program desired: ",P 210 IF P < 1 OR P >= I% THEN 130 220 WIDTH 80:CLS:PRINT "Press F1 to return to menu when finished":RUN PROG$(P) 65130 E=ERR:RESUME NEXT 65140 ON ERROR GOTO 65130 65145 'RUN"menu 65150 'IF E<>71 THEN RUN"control 65160 RUN"A:TRANSFER 65170 SYSTEM