UnderwareDESIGN

PlayBASIC => Resources => Source Codes => Topic started by: kevin on May 23, 2011, 06:03:46 PM

Title: Triggers Time Based Model
Post by: kevin on May 23, 2011, 06:03:46 PM
 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.