Sign in to follow this  
Followers 0
Andrew Chen

Timer

7 posts in this topic

What would the command be to start a timer, so it would increase by 1 every second.

Share this post


Link to post
Share on other sites



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?

Share this post


Link to post
Share on other sites

Thanks a lot. Would $stop = TimerInit() stop the timer?

to stop it just use

$begin = ""

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

#5 ·  Posted (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 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...

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
Share on other sites

Wouldn't that clear it?

yes

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0