Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create a noninteractive wait() function
Message
 
To
30/10/2000 15:35:13
Mike Mattos
Nationwide Computers
Mississauga, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00436062
Message ID:
00436065
Views:
24
>sometimes I need a code snippet to WAIT(5) , perhaps for a modem ot connect, etc.
>
>given that this may be in a non interactive situation, INKEY() isn't a good option. Creating a timer seems a rather complicated way to go, and since I care about system load, I don't want to use a do while loop.
>
>Waybackwhen ( fox 2 ) , I would RUN a program to do this for me, but loading command.com in windows tends to mess up the display and steal keystrokes!
>
>Any suggestions ?
>
>thx in advance
>
mike,

Use the Sleep Win32 API call. You'll find information on it in the API section.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform