on key Example

10    ON KEY 7 GOTO Here
20    LOOP
30      PRINT "Press F7"
40 Loop: GOTO Loop
50 Here: PRINT "ON KEY worked properly."
60      Counter=Counter+1
70    EXIT IF Counter=1
80    END LOOP
90    END