Andrew Chen Posted August 19, 2006 Share Posted August 19, 2006 What would the command be to start a timer, so it would increase by 1 every second. Link to comment Share on other sites More sharing options...
Valuater Posted August 19, 2006 Share Posted August 19, 2006 from help $begin = TimerInit() sleep(3000) ; = 3 seconds $dif = Int(TimerDiff($begin)) MsgBox(0,"Time Difference",$dif) 8) Link to comment Share on other sites More sharing options...
Andrew Chen Posted August 19, 2006 Author Share Posted August 19, 2006 from help $begin = TimerInit() sleep(3000) ; = 3 seconds $dif = Int(TimerDiff($begin)) MsgBox(0,"Time Difference",$dif) 8) Thanks a lot. Would $stop = TimerInit() stop the timer? Link to comment Share on other sites More sharing options...
Valuater Posted August 19, 2006 Share Posted August 19, 2006 Thanks a lot. Would $stop = TimerInit() stop the timer?to stop it just use$begin = ""8) Link to comment Share on other sites More sharing options...
strate Posted August 19, 2006 Share Posted August 19, 2006 (edited) Thanks a lot. Would $stop = TimerInit() stop the timer?From the given example: Int(TimerDiff($begin))TimerDiff you will use to call back the span of time. Edited August 19, 2006 by strate INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station... Link to comment Share on other sites More sharing options...
strate Posted August 19, 2006 Share Posted August 19, 2006 to stop it just use$begin = ""8)Wouldn't that clear it? INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station... Link to comment Share on other sites More sharing options...
Valuater Posted August 19, 2006 Share Posted August 19, 2006 Wouldn't that clear it?yes8) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now