How Can The Times Be Different?

Blitz3D Forums/Blitz3D Beginners Area/How Can The Times Be Different?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Well empty for/next loops are bad thing in my opinion, they dont serve a purpose, and if you are aiming for timed delays, use Delay or something like:

WaitABit=Millisecs()
While (Millisecs()-WaitABit)<5000
Wend

Sure, the delay in checking may be in reality 5001 millisecs or more, never less, but it will guarantee the CPU will move on as soon as it can :)