Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Want program to pause for 60 seconds, how?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00159454
Message ID:
00159465
Views:
25
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
Previous
Reply
Map
View

Click here to load this message in the networking platform