>One note: I think you should be aware that if you choose to use the Sleep function in the API, you will run the risk that the user will type something into the keyboard buffer that will do something they didn't want.
>
>If you use the loop, issue a CLEAR TYPEAHEAD inside the loop, and you will not have this problem. You can even get fancy if they type something; check the keyboard buffer and if they are trying to type, use a WAIT NOWAIT command to say "I'm not dead, just wait and I'll let you do that." or whatever.
>
I like that idea. Or, put inside the loop WAIT WINDOW "SysAdmin said to wait " +ALLTR(STR( INT(nSeconds -SECONDS() ))) + " more..."
:)
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison