Re: questions from a newbie

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

Hi!,

-----Original Message-----
From: Thys de Jong <thys at SCSINTERNET.COM>
To: EUPHORIA at LISTSERV.MUOHIO.EDU <EUPHORIA at LISTSERV.MUOHIO.EDU>
Date: Friday, January 01, 1999 1:32 PM
Subject: questions from a newbie


>First  of all Happy New Year one and all.


And you too..

>does any one know a routine for a wait command that could be invoked
>in say milliseconds like:
>wait(500) or delay(500) ???


Try:

procedure Delay(atom t)
   t = time() + t
  while time() < t do
  end while
end procedure

This is roughly accurate to approx .05 seconds

To delay half a second for example:

Delay(.5)

Hope this helps..


Greg Harris

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

Search



Quick Links

User menu

Not signed in.

Misc Menu