Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sleep(1) too slow
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00916333
Message ID:
00916389
Vues:
7
>> Use SECONDS() or INKEY() instead.
>
>Hi George,
>
>I can't see how to use SECONDS() for this, that only displays doesn't actually wait. Also I have just tried INKEY() and that is even slower at 70ms.
>
Nick,

Something like this for SECONDS()
lnstart = SECONDS()
DO WHILE SECONDS() < lnstart + .005
ENDDO
This would produce a 5 ms delay.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform