FPS Limiting

Blitz3D Forums/Blitz3D Programming/FPS Limiting

Nah that defies the whole purpose of the timing code above it Chief =]

darklordz, sorry to state the obvious but I presume PERIOD and TIME are previously initialised? ;]

Also remember that the expression 'Until ELAPSED%' will only wait so long as ELAPSED% is not 0 - is it possible that TIME%=TIME%+PERIOD% could ever give a greater number than MilliSecs()? I'd use 'Until ELAPSED%>0' to be sure.