Jump to content
Sign in to follow this  
Andrew Chen

Timer

Recommended Posts

Andrew Chen

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
Andrew Chen

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
Valuater

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
strate

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
strate

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
Valuater

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  

×