This can be useful for applications that use timers and don't want to be 'flooded' by timer events
on slower machines.
See also: PeekEvent, WaitEvent.
; create a basic window to play with
button=CreateButton("Hit me! I do nothing!",10,10,180,20,win)
id=PeekEvent() ; are there any events waiting to be processed?
If id<>0 Then
If id=$803 Then Exit ; exit on window close
FlushEvents() ; clear out any remaining events
End ; bye!
BlitzPlus Manual Forum
Blitz3D Equivalent Command