numeric
Whether the keyboard interrupt character (Ctrl-Break on Windows, Ctrl-C on Unix) has been pressed. The system ignores keyboard interrupts unless an interrupt handler (a procedure) is active in the current command frame, in which case the handler is executed. This handler is the system procedure on_interrupt.
When an interrupt handler is present the identifier interrupted is by default set to off (value of 0) at the beginning of the handler.
On exit from a command frame, the value of interrupted is passed back to the parent command frame, where the interrupt handler for that command frame will be executed if it has been defined.
The value of interrupted may be set by a language assignment, and the resulting action will be as if the keyboard interrupt character had been pressed.
Commands: |
|
Identifiers: |