News:

PlayBASIC2DLL V0.99 Revision I Commercial Edition released! - Convert PlayBASIC programs to super fast Machine Code. 

Main Menu

Triggers Time Based Model

Started by kevin, May 23, 2011, 06:03:46 PM

Previous topic - Next topic

kevin

 Triggers Time Based Model

   This example use a time or event based model for managing the main functions in the program.  So rather than lay out our code in the central loop we schedule our functions to be called at set intervals.   So the Main function  acts as the message pump.  So it's just sitting there waiting for call the functions when the time is up.  Needs a bit of clean up, but you get the idea.