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:
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 :)
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 :)