EXCEPTCHECK
9.0.C
The EXCEPTCHECK instruction tests whether an exception program event has been enabled at the current stack level or at any stack level in a program. The ZERO and OVER flags report the results. This instruction uses one of the following formats:
|
|
|
|
|
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
event
Required. One of the exception program events.
char
Required. A single character literal or a Character String Variable.
Flags Affected: ZERO, OVER
Note the following:
The ZERO flag is set when an exception program event is enabled at the current call stack level.
The OVER flag is set TRUE when an exception program event is enabled at any call stack level. The OVER flag is cleared if an exception program event is not enabled in a program.
See Also: EXCEPTCLEAR, EXCEPTDISABLE, EXCEPTDO, EXCEPTENABLE, EXCEPTSET, Exceptions, Trapple Events,Program Control Instructions
![]() |