< Futurebasic < Language < Reference

FLUSHEVENTS statement

FLUSHEVENTS

Statement

✔ Appearance ✔ Standard ✔ Console

Syntax

FLUSHEVENTS

Description

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

EVENT; ON EVENT

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.