Event Flush?

BlitzMax Forums/BlitzMax Programming/Event Flush?

Interesting - and useful - question. In the absence of an actual command, perhaps this will do:

Repeat Until Not PollEvent()
since PollEvent() removes events from the queue and returns Null if there aren't any left. It seems to do the job.