Qbasicnews.com
How to use a timer? - Printable Version

+- Qbasicnews.com (http://qbasicnews.com/newforum)
+-- Forum: QBasic (http://qbasicnews.com/newforum/forum-4.html)
+--- Forum: QB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-11.html)
+--- Thread: How to use a timer? (/thread-436.html)



How to use a timer? - Lowry625 - 03-17-2003

I am confused with this... I can't seem to program a timer that checks something every half second or so...


How to use a timer? - Agamemnus - 03-17-2003

Simple.

t1! = TIMER
'do stuff...

if TIMER-t1!>=.50 then
'do other stuff
end if