Delay command - what is it good for

Blitz3D Forums/Blitz3D Programming/Delay command - what is it good for

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.

Thanks for your replies, quite helpful.

This leads to my next question:

If I used a 'delay' statement as part of a frame limiting algorithm in a full screen game is it then possible that when the 'delay' command is executed the actual delay could be longer (by a significant amount) because some other windows app decides to use the CPU heavily and take control of the CPU for longer than the amount specified when the 'delay' command was executed.

And - if that were true I'm guessing it would be better to use the simple "repeat..until millisecs()-timebeforethisloop>somesmallamount"?