Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enforcing the WAIT command
Message
De
05/03/2002 11:34:44
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00627086
Message ID:
00628487
Vues:
19
Cool, seems to work! Thanks for the help. I hate to admit it, but I am not to up-and-up on winapi functions... I will read through win32api.hlp maybe I can learn something. I bet there is a lot of useful functions to use?

One question, why is there a need for the FOR I 1 = 10 statement?
Thanks!

>Try some thing like this:
>
>** MyWait.PRG
>*  Waits for a specified number of seconds.
>PARAMETERS nSeconds
>declare Sleep in win32api integer
>
>for I = 1 to 10
>   =Sleep(nSeconds*1000)
>endfor
>
>You might want to add a 'set escape off' or some error capture too to prevent an error message appearing when the user presses the 'ESC' key.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform