Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Here an easy one... the wait command
Message
De
22/08/2000 15:09:02
 
 
À
22/08/2000 14:46:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00407890
Message ID:
00407918
Vues:
30
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
Fil
Voir

Click here to load this message in the networking platform