Interrupt Command


interrupt expression


The interrupt command enables or disables interrupts from the keyboard during execution of a group of commands. The interrupt status is set to expression. Before executing the commands for a choice, menu or menufile, menu sets the interrupt status to yes, interrupts enabled. A true (nonzero) expression enables interrupts, allowing commands within a menu choice to be halted.

If expression is false (zero), interrupts are disabled for all commands following the interrupt command until they are re-enabled or the last command statement for the command group has finished.

The built-in interrupt command is only available when menu has the built-in menu commands enabled.


ask "Should INTERRUPTS be enabled? "as boolean to dointr

interrupt dointr