DISABLE Example10 ON KEY 1 GOTO Here
20 SET KEY 1,"LIST"
30 DISP "Hit F1"
40 WHILE Count<>5
50 Count=Count+1
60 WAIT 1
70 IF Count=2 THEN DISABLE !Once count=2, then pressing F1 will do nothing.
80 END WHILE
90 Here: PRINT "Reached Here! Count = ";Count
100 SET KEY 1,"EDIT"
110 END
|