pBreakHandler
pBreakHandler
Handle user breaks.
Syntax
pBreakHandler ( inout vlStatus )
Parameters
vlStatus | Both an input and output parameter. |
Comments
The pBreakHandler function provides a specific method of dealing with user break conditions (for example, Ctrl+Break or Ctrl+C). It would normally be called within an ON BREAK construct.
If vlStatus is BREAK, it assumes that a break has occurred already. pBreakHandler does nothing in this case. Otherwise, the user is informed that a break has occurred and asked if they really want to break. If they select OK, vlStatus is set to “BREAK”. If not, vlStatus is unchanged.