|
From: <eva...@gm...> - 2015-07-26 19:03:32
|
What is the correct way to use a timer within a deployed program? I never get any errors, but the quotation of the timer is simply never called. --------------- USING: kernel timers io io.servers prettyprint calendar ; IN: loopfun : start-looping-timer ( -- timer ) "Before Loop" . [ "Inside Loop" . ] 2 seconds every ; : endless-loop ( -- ) start-looping-timer [ t ] loop stop-timer ; MAIN: endless-loop ---------------- Thanks, Evan |