Delay (was: no subject)

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

gunnar wrote:
> 
> Does someone know a easy way to delay programs.
> A procedure like that doesen't exist in the euphoria-include files.
> I want a procedure that dosen't care about how fast
> the computer is.

Use time().
atom t
t = time()
while time() - t < 0.5 do

end while


You just have to be careful for when time() resets (after 24 hours under
DOS).  If you're using windows, you can use a timer.

If this doesn't help you, please be more specific.

Matt Lewis

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

Search



Quick Links

User menu

Not signed in.

Misc Menu