Reading the most recent Event from Event Queue

BlitzMax Forums/BlitzMax Programming/Reading the most recent Event from Event Queue

Hi,

Does anybody know how to read the last event to be posted in the event queue? I don't need the next event in the queue, but the last one: the one most recently added.

I need to check if an event has been added and remove it from the queue but if events have happened before it was triggered, I can't use PeekEvent() or PollEvent().

Cheers


Seb