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.