Re: How to sleep?

From: Erick Gallesio <eg_at_kaolin.unice.fr>
Date: Fri, 30 Sep 1994 10:00:18 +0000

If Tk is loaded you can use "after".
After permit to have a kind of "thread" which is run after the specified time.
If no code is furnished, it only waits.
So
        (after 1000 '(format #t "Hello\n")) ; Print Hello after 1000ms
        (after 2000) ; just wait 2s


                -- Erick
Received on Fri Sep 30 1994 - 10:00:19 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST