Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Specifying a real delay or pause
Message
From
17/11/2009 15:06:55
 
 
To
15/11/2009 11:05:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01434825
Message ID:
01435276
Views:
105
I found that Sleep worked less than perfectly for me.
I'll post the problematical example if I can find it.

-m.

**********************************

>Thanks Sergey.
>
>>>I'd like to know what would be the way to force a pause after execution of a command.
>>>
>>>I want to send emails in batch of for example 20. So after sending 20 emails I'd like my application to pause for half on a second. I know that I could use inkey but it's not good enough in making sure that the app will really pause.
>>
>>
>>DECLARE Sleep IN WIN32API Long dwMilliseconds
>>=Sleep(500)
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform