Re: just to be sure

new topic     » goto parent     » topic index » view thread      » older message » newer message
mexzony said...

i need to clear this time statement once and for all.

t = time 
while time() < t+0.1 do  
end while 

i know t is assigned a value here but the time() < t+0.1 is it timing an empty loop with a given condition or what.need some explaining.

It's not timing the loop, but it's keeping the flow of code inside the loop until at least a tenth of a second after t = time() is executed.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu