REMOVE.BREAK.HANDLER

REMOVE.BREAK.HANDLER

Top  Previous  Next

 

The REMOVE.BREAK.HANDLER statement allows a program to remove a handler subroutine established using SET.BREAK.HANDLER.

 

 

Format

 

REMOVE.BREAK.HANDLER

 

A break handler subroutine can be established using SET.BREAK.HANDLER and will be called if the break key is enabled and the user presses it.

 

The handler applies to the program that establishes it and to all programs called from it unless they establish their own break handler.

 

The break handler will be deactivated when the program that established it terminates. The program can also use REMOVE.BREAK.HANDLER to deactivate the handler while the program continues to run. A program cannot remove the break handler of another program further down the call stack. On deactivation of a break handler, any handler belonging to a program further down the call stack becomes active again.

 

 

See also:

Interrupting commands, SET.BREAK.HANDLER