Big10p, yes, your code above would always update at least once. I didn't say the right thing. Youre code should be okay.
Retro64? He's either just doing for x=1 to 10000 or just
repeat:until timepassed>1000/30
Retro64? He's either just doing for x=1 to 10000 or just
repeat:until timepassed>1000/30