Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6: Timer interval limits
Message
De
27/08/2001 07:17:08
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
24/08/2001 12:42:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00548280
Message ID:
00549374
Vues:
29
>>Not overhead, but quite a bit of coding. Can you explain what is supposed to be the problem if I just set the timer, say, to 2 hours (2 * 3600 * 1000)? You mention accuracy, but doesn't the timer automatically check, at regular intervals, whether the specified time elapsed?
>
>What if you check every two hours, and the timer was supposed to run an hour and 45 minutes ago? Then accuracy is lost anyways.
>
>BTW, there's another timer in the Files section here, a Bela FLL, I heard its pretty accurate.

"If you check every two hours"?

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.
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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform