// The timer interface (window message WM_TIMER) // File: timer.w_js var cnt = 1; // // Window.SetTimer(id, ms) Window.SetTimer(8000, 100); // 100 ms function WM_TIMER(id){ var text = "Timer " + id + " Ticks " + cnt; cnt++; Window.TextOut(0,50,50,text); Window.UpdateWindow(); };