Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Want program to pause for 60 seconds, how?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00159454
Message ID:
00159465
Vues:
26
Brenda,

You could loop until 60 seconds has passed. It's a good idea to put a wait in the loop to keep VFP from using too much CPU resources:
m.lnTimeOut=SECONDS()+60
DO WHILE m.lnTimeOut>SECONDS()
  WAIT '' TIMEOUT 1
ENDDO
>System administrator wants to kick the users off the system. Selects the appropriate menu item. Now I want to give him a message like "Please wait ... Forcing Users off the System" and make it stay up for 60 seconds. Tried "WAIT" with " Timeout 60", but it goes away if the keyboard or mouse is used.
>
>How to pause a program for XX seconds.
>
>Brenda
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform