HTBasic Help
×
Menu
Index

interactive Example

1      ! The normal functions of the program control keys CLR I/O, ENTER, PAUSE, STEP
2      ! and STOP, are disabled.  The RESET key may also be disabled by specifying the
3      ! optional RESET keyword.  The keys are only disabled while the program is running.
4
10    X=5
20    ON TIME (TIMEDATE+X) MOD 86400 GOTO Here
30    PRINT "I'll wait";X;"seconds. Keys are disabled."
40    SUSPEND INTERACTIVE
50 Loop: GOTO Loop
60 Here: RESUME INTERACTIVE
70    PRINT "Keys re-enabled."
80    END