390 CLS: PRINT "The number you selected was not offered,":PRINT "please reenter your selection.":PRINT :GOTO 230
400 INPUT "How many words would you like to spell";N
410 IF N>10 THEN PRINT "That's too many words to work with at":PRINT "one time. I'll let you spell 10 words":PRINT "during this exercise.": N=10 ELSE 430
420 FOR TD=1 TO 2000 : NEXT TD
430 ON S GOTO 440,470,500,530,560
440 T = -1
450 OPEN "I",1,"spell1.dat"
460 GOTO 580
470 T = 0
480 OPEN "I",1,"spell2.dat"
490 GOTO 580
500 T = 1
510 OPEN "I",1,"spell3.dat"
520 GOTO 580
530 T = 2
540 OPEN "I",1,"spell4.dat"
550 GOTO 580
560 T = 2
570 OPEN "I",1,"spell4.dat"
580 IF EOF(1) THEN 630
590 INPUT #1,A$
600 WORDS = WORDS + 1
610 A$(WORDS)=A$
620 GOTO 580
630 CLOSE 1
640 N1=N
650 SKIP = INT(4*RND(1))+1
660 KB = INT(WORDS*RND(1))
670 IF KB > (WORDS - N1*SKIP) THEN 250
680 CLS
690 LOCATE 10,15 :PRINT "Get Ready!"
700 FOR TD=1 TO 800 : NEXT TD
710 FOR I=KB TO KB + N1*SKIP -SKIP STEP SKIP
712 IF S=1 THEN T=-1 :GOTO 720
714 IF S=2 THEN T=0 : GOTO 720
716 IF S=3 THEN T=1 ELSE T=2
720 CLS
730 FOR TD=1 TO 500 : NEXT TD
740 PLAY"MBL20gggc"
750 LOCATE 10,15 :PRINT A$(I)
760 FOR TD=1 TO 1500/S^1.25 :NEXT TD
770 CLS
780 LOCATE 11,6 : LINE INPUT "Spell it: ";B$
790 IF B$=A$(I) THEN 910
800 BEEP : BEEP
810 IF T=2 THEN W=W+1 :GOTO 860
820 LOCATE 13,1 : PRINT "I'm sorry that was not correct. Please try again."
830 FOR TD=1 TO 2000 :NEXT TD
840 T=T+1
850 GOTO 720
860 CLS
870 LOCATE 20,1 :PRINT "The correct spelling is... ";A$(I)