Qbasicnews.com
July 25, 2021, 12:54:22 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to use a timer?  (Read 1916 times)
Lowry625
New Member

Posts: 4


WWW
« on: March 16, 2003, 09:45:38 PM »

I am confused with this... I can't seem to program a timer that checks something every half second or so...
Logged
Agamemnus
x/ \z
*****
Posts: 3491



« Reply #1 on: March 16, 2003, 11:57:19 PM »

Simple.

t1! = TIMER
'do stuff...

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

Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!