Delay (was: no subject)
- Posted by Matt Lewis <matthewwalkerlewis at yahoo.com> Oct 20, 2004
- 491 views
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