FLUSH Method (System)
Description
This method removes all pending events from the PS event queue.
Syntax
nRemoved = Exec_Method( "SYSTEM", "FLUSH" )
Parameters
N/A
Returns
The number of events removed from the event queue.
Remarks
N/A
Example
// Remove all pending events. nEventsRemoved = Exec_Method( "SYSTEM", "FLUSH" )
See Also
GET_EVENT method, QUALIFY_EVENT method, BLOCK_EVENTS property, SEND_EVENT function, POST_EVENT function, Appendix C – Event Handling