Sign in to follow this  
Followers 0
ForsakenGod

Timing

5 posts in this topic

Hello ,

I ve got a question (probably mostly basic for someone but not for me : ) ) Well lets start :

Is there any smart way to manage time ? I mean time gone from somethink . As an example may serve

Global $timer = TimerInit()

While 1
    ToolTip("The time elapsed from the start of programm is  " & $timer/1000 & " s",0,0)
Wend

I think this source is right isnt it ? It makes a variable at start and i divide it by 1000 meaning i should get seconds instead of that i get some number like 37554658.19 at start

Share this post


Link to post
Share on other sites



Should be:

TimerDiff($timer)/1000

:D

Ohh thanks ::D And is there any way to display only whole numbers please ? :huggles:

Share this post


Link to post
Share on other sites

Dog ate your help file?

Int()

Round()

:D

Thank you :huggles::D

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