Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Understanding Timers Part Duex
Message
From
12/08/2004 20:15:06
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Understanding Timers Part Duex
Miscellaneous
Thread ID:
00932987
Message ID:
00932987
Views:
69
With the following code on a very slow machine I'm still getting execution of the same message twice. The machine is a 233.
Add Message to queue
Set Timer Interval to 1 millisecond.
Enable Timer

** Added logging for debugging purposes.
** Function Timer
Has the Timer been disabled
  Return
Disable Timer

Log "In Timer"

Do while there are still messages in the queue
  Log "Process the first message"
  Process the first message

  Log "Are there more messages?"
  Are there more messages?
    Log "Remove the first message"
    Remove the first message
Next
Reply
Map
View

Click here to load this message in the networking platform