Information générale
Catégorie:
Codage, syntaxe et commandes
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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement