HP IBASIC Supplement 3-7
Running, Pausing, and Stopping Programs
Pausing and Continuing a Program
Using LOCAL LOCKOUT 8 to Disable the
Pause Key
The key is always enabled when a program is first run and
remains enabled until a LOCAL LOCKOUT 8 command is executed.
Example 1. key locked-out from within a program.
10 !
20 LOCAL LOCKOUT 8
30 !
40 ...
Example 2. The key can be re-enabled from within the program
with the LOCAL 8 command at any time.
90 !
100 Re-enable_pause:
110 LOCAL 8
120 RETURN
130 !
The key can still be used to stop a program even if the LOCAL
LOCKOUT 8 command has been executed.
PRESET