Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create a noninteractive wait() function
Message
 
À
30/10/2000 15:35:13
Mike Mattos
Nationwide Computers
Mississauga, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00436062
Message ID:
00436065
Vues:
25
>sometimes I need a code snippet to WAIT(5) , perhaps for a modem ot connect, etc.
>
>given that this may be in a non interactive situation, INKEY() isn't a good option. Creating a timer seems a rather complicated way to go, and since I care about system load, I don't want to use a do while loop.
>
>Waybackwhen ( fox 2 ) , I would RUN a program to do this for me, but loading command.com in windows tends to mess up the display and steal keystrokes!
>
>Any suggestions ?
>
>thx in advance
>
mike,

Use the Sleep Win32 API call. You'll find information on it in the API section.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform