CLEAREVENT


PLBCMP GUI Only

 

The CLEAREVENT instruction removes one event from the event queue. The instruction uses the following format:

 

 

[label]

CLEAREVENT

 

Where:

label

Optional. A Program Execution Label.

Flags Affected: OVER

Note the following:

  1. This instruction clears the next event on the object event queue.

  2. The OVER flag is cleared if there was an event on the queue and set if there was no event on the queue.

  3. The entire event queue may be cleared by repeating the CLEAREVENT instruction until the OVER flag is set.

 

 

See Also: Example Code, EVENTCHECK, EVENTWAIT, Object Output Instructions, Program Control Instructions

 



PL/B Language Reference CHAIN DEBUG