Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Waiting around....
Message
From
07/08/2003 09:52:09
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00817017
Message ID:
00817709
Views:
11
>Polling is bad... try this one without letting your processor burn.
>
>DECLARE Sleep IN Win32API INTEGER nMilliseconds
>Sleep(10000) &&10 seconds

Hi Marvin. I am familiar with the Sleep API - it is also extensively refered to in this thread. I agree that "polling is bad" but its not my code :) The loop code was from Dennis Lindeman's post. Personally I would simply insert a INKEY(1) in the loop which is even easier than Sleep().
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform