Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Here an easy one... the wait command
Message
From
22/08/2000 15:09:02
 
 
To
22/08/2000 14:46:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00407890
Message ID:
00407918
Views:
29
From the Hacker's Guide: "With the NOCLEAR option, WAIT WINDOW remains until another WAIT WINDOW command or WAIT CLEAR is issued. Without this clause, the window clears when a keystroke or mouse click is received".

You can't use WAIT WINDOW for stoping the process no matter what happens. As soon as the user press a key, the process continue.

From the MSDN libray: "The Sleep function suspends the execution of the current thread for the specified interval".

Just copy & paste the lines of code I sent you and test it for yourself.
>If this is normal behavior, what is noclear used for? I do not doubt you I am just curious and eager to learn. I think the sleep() API might be over my head since I have no clue what it is.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform