Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WAIT command without Keyboard
Message
 
To
17/12/2013 03:33:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01590443
Message ID:
01590464
Views:
77
>>What is the best way to PAUSE program execution for 1 second at a time, regardless of Keyboard activity?
>>I am generating Time Stamps, ,but when keyboard is pressed, the WAIT statement gets bypassed and my Time Stamps repeat.
>>
>>.
>>Thanks
>
>
>declare Sleep in Win32api integer   && only once
>
>= Sleep(1000)
>
That was going to be my answer. The time is 1000 = one second. 500 = half second, etc.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform