Re: Delays in Programs

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

Longlifter wrote:

> -- Here is where I tried to use your code, but I can't get it to work
> -- properly.
> procedure wait(atom delay)
> atom start, fini
>   start = time() -- now
>   fini = start + delay
>  while time() < fini do
>  end while -- loop
> end procedure
>
> set_display_page(1)    -- screen output will now be displayed

I am just guessing (I'm very new to this), but if it is a procedure, shouldn't
you call it somehow?

I'm guessing adding a line that says:

--begin for 5 second delay
wait(5)
--finis

I tried to find a referance to wait using the search message feature, but I
was unable to...

--
  "Only when no one replies to spam will it go away."
      If someone tries to sell you something via
          unsolicited email, don't buy it.
      See http://www.spamcop.net/ and fight back
                 Nic (RedWord)Smith
              http://nic.dreamhost.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu