Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6: Timer interval limits
Message
From
27/08/2001 10:20:20
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
27/08/2001 08:31:56
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00548280
Message ID:
00549429
Views:
14
>>If I set the Timer.Interval property to 2 hours, I expect the Timer() event to run after two hours - without me having to do additional checks or coding. Under what circumstances would that fail?
>>
>>Hilmar.
>
>When the time expires while some OTHER (non-VFP) process is running.

So, if I understand correctly, in my example the Timer will wait ANOTHER 2 hours before it fires again! I didn't know this problem existed (all Timers I have used so far were for much shorter intervals). So, that is the reason many programmers prefer to check more frequently, right?

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform