EXCEPTENABLE


9.0C

 

The EXCEPTENABLE instruction sets the specified exception program event at the current call stack level. This instruction uses one of the following formats:

 

 

[label]

EXCEPTENABLE

{event}

 

Where:

label

Optional. A Program Execution Label.

event

Required. One of the exception program events that is defined in the group one events in the EXCEPTSET instruction.

Flags Affected: ZERO

Note the following:

  1. The ZERO flag is set when the {event} is enabled.

  2. If the {event} does not exist at the current call stack level, the instruction only clears the ZERO flag.

  3. If a TRAP event is set and the same exception program event is set in a program, the exception program event operation takes precedence and is executed.

 

 

See Also: EXCEPTCHECK, EXCEPTCLEAR, EXCEPTDISABLE, EXCEPTDO, EXCEPTSET, Exceptions, Trappable Events, Program Control Instructions

 



PL/B Language Reference EXCEPTDO EXCEPTSET