SETESC Verb - Set Interrupt Handling Routine
Syntax
SETESC lineref
SETESC 0
Description
The SETESC verb sets the error handling routine location.
Parameter |
Description |
---|---|
lineref |
Error handling routine location. |
The verbs RESET, RUN, LOAD, BEGIN, CLEAR, END, and STOP set SETESC to 0.
PRO/5 guarantees execution of at least one non-I/O verb following any
of these verbs. This allows a new SETESC to be executed before PRO/5 acknowledges
a potential interrupt.
Traditionally, Business BASIC used the escape character to interrupt the
BASIC interpreter. However, in PRO/5, the escape/interrupt sequence varies
with the operating environment. With the UNIX operating system, it is
typically ^C or the DEL character. Use the stty
command at the UNIX operating system shell prompt to determine the interrupt
character. In MS-DOS, the interrupt signal is generated through the ^Break
key sequence.
Examples
1000 SETESC 9400