ESCAPE Verb - Interrupt Program Execution

Syntax

ESCAPE

Description

The ESCAPE verb interrupts program execution and is used mainly for program debugging.

If ESCAPE is executed in run mode, the current line is listed on channel 0, the program stops executing, and PRO/5 goes into console mode. Type the RUN verb for execution to resume at the statement following the ESCAPE statement. ESCAPE can be used in a compound statement.

If ESCAPE is executed in console mode, PRO/5 lists the line containing the next program statement on channel 0.

If SETOPTS byte 1, bit $08$ is set, ESCAPE will work in a public program. If this bit is not set, an ESCAPE executed in a public program will generate an !ERROR=38.

ESCAPE is not related to !ERROR=127.

Examples

>ESCAPE
1000 ESCAPE

See Also

Verbs - Alphabetical Listing