CLEAREVENT
PLBCMP GUI Only
The CLEAREVENT instruction removes one event from the event queue. The instruction uses the following format:
|
|
|
|
Where:
label
Optional. A Program Execution Label.
Flags Affected: OVER
Note the following:
This instruction clears the next event on the object event queue.
The OVER flag is cleared if there was an event on the queue and set if there was no event on the queue.
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
![]() |