EXCEPTCLEAR


9.0C

The EXCEPTCLEAR instruction removes catching an exception program event that had been previously enabled by an EXCEPTSET at the current call stack level. This instruction format is one of the following:

 

(1)

[label]

EXCEPTCLEAR

{event}

(2)

[label]

EXCEPTCLEAR

CHAR={char}

(3)

[label]

EXCEPTCLEAR

ALL

(4)

[label]

EXCEPTCLEAR

ALLCHARS

(5)

[label]

EXCEPTCLEAR

ALLFKEYS

(6)

[label]

EXCEPTCLEAR

ALLKEYS

 

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

Note the following:

  1. The ZERO flag is set when an exception program event is cleared.

  2. ALL specifies that all exception program events that are enabled are cleared at the current stack level.

  3. ALLCHARS clears all character exception program events at the current stack level.

  4. ALLFKEYS clears all function key exception program events at the current stack level.

  5. ALLKEYS clears all character and function key exception program events at the current stack level.

 

 

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

 



PL/B Language Reference EXCEPTCHECK EXCEPTDISABLE