EVENTCLEAR


8.1, PLBCMP GUI Only

 

The EVENTCLEAR instruction removes an event from the event queue. The instruction uses the following format:

 

 

[label]

EVENTCLEAR

[{position}]

 

Where:

label

Optional. A Program Execution Label.

position

Optional. A previously defined Numeric Variable, Literal, Expression or decimal number that specifies the event position that is cleared.

Flags Affected: OVER

Note the following:

  1. If the {position} operand is not provided, the EVENTCLEAR is the same as the CLEAREVENT instruction.

  2. If there is no event at the specified position, the OVER flag is set.

 

 

See Also: Program Control Instructions

 



PL/B Language Reference EVENTCHECK EVENTCOUNT