|
-
March 10th, 2011, 11:54 AM
#16
Re: How to create two 30 secs delay in 1000 loops routine
The API GetTickCount() sounds like a good candidate to do this. There is still a case where the value will roll back to 0, but it seems appropriate for what you are doing.
Also, be careful with construction like this:
Code:
Do While Timer <> Start
This could lead to an infinite loop, the chances are very small, but I've already seen problem with that kind of validation.
Hope it helps.
JeffB
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|