Futurebasic/Language/Reference/flushevents

From Wikibooks, open books for an open world
Jump to navigation Jump to search

FLUSHEVENTS statement[edit | edit source]

FLUSHEVENTS[edit | edit source]

Statement[edit | edit source]

✔ Appearance ✔ Standard ✔ Console

Syntax[edit | edit source]

FLUSHEVENTS

Description[edit | edit source]

This statement removes all pending events from the system event queue and from FutureBasic's internal event queues. This is useful when you want to prevent your event-handling functions from processing any old events that may currently exist in the queue. FLUSHEVENTS does not inhibit future events from being put into the queue.

See Also[edit | edit source]

EVENT; ON EVENT