Accuracy of Millisecs()

BlitzMax Forums/BlitzMax Programming/Accuracy of Millisecs()

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.

question is, how does Sleep(1) determine when a millisec is up? If it just reads a value and waits until it's 1 higher, this could be only a fraction of a millisecond, or anything up to a whole millisecond. How does Delay(1) ensure that it stops for one millisec? Maybe delay 10 would be more accurate as the delay could be 9-10ms.