General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only