Delay

Blitz3D Forums/Blitz3D Beginners Area/Delay

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.

Timer=millisecs()
For F=1 TO 999999
If xxx=0
If (Millisecs()-Timer)=>1500
xxx=F
Print F
End If
End If
Next


How about, run this code first to find out how many FOR/NEXT iterations are equivalent to 1500 ms
then divide this figure by 1000 (should be most accurate).

Unfortunately calls to millisecs() take a fair bit of comparitive time too.

Instead of delay, then use

For F=1 to xxx
Next xxx