Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the best way to delay/wait without halting appl
Message
From
23/03/2004 13:27:54
 
 
To
23/03/2004 08:59:08
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00888836
Message ID:
00888959
Views:
10
You want simulate a multithread process ?

try this:
sleepTime = 50
for k=1 to 10000/m.sleepTime && 200 x 50ms sleep = 10s
   doevents
   Sleep(m.sleepTime)
endfor
* or
timeEnd = DATETIME()+10
DO WHILE DATETIME()<m.timeEnd
  doevents
  Sleep(100)
ENDDO
tune sleep time
Previous
Reply
Map
View

Click here to load this message in the networking platform