main
// Construct and run an origo application.
system.run application new MyApplication
class MyApplication extends Application implements TimerListener
MyApplication
// Construct and start timer.
Timer t = new Timer listener this start true
timer event <Timer caller>
print "Timer expired"