|Command||basic.break Statement/BASIC Program
Applicable release versions: AP, R83
|Category||BASIC Program (486)|
|Description||enables or disables the <break> key.
The break key, if enabled, interrupts the current process and either invokes the Pick/BASIC debugger or pushes a level.
"break off" disables the <break> key.
"break on" reverses the effect of the last executed "break off" command. If multiple "break off" statements are executed, an equal number of "break on" statements must be executed to return to a "breakable" state.
In the "expression" form, the break key is disabled when the expression evaluates to false. It is enabled when the expression evaluates to true. In an expression, 0 = "break off" and non-zero = "break on".
break user = "fred" If the value of "user" is "fred", this has the same effect as issuing the statement "break on".