Eventloop and code running simultaneously?

BlitzPlus Forums/BlitzPlus Programming/Eventloop and code running simultaneously?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Is it possible to have code running constantly while the gui app is in an event loop?

Let's say I need a gui app that needs to check for new file uploads in a directory, regardless if there are events happening. Is it possible with blitzplus?


EDIT: Sorry, I should have checked the documentation :)
a WaitEvent(0) instead of WaitEvent() should do the trick.

You can move this post to /dev/null