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
------------------------------------------------------------------------------
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to