basic.break
Enables or disables the break key.
Syntax
break off break on break expression
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'.
Example
break user = 'fred'
If the value of 'user' is 'fred', this has the same effect
as issuing the statement 'break on'.
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
