Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sleep(1) too slow
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00916333
Message ID:
00916389
Views:
8
>> 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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform