Jump to content
Sign in to follow this  
gcue

compare 3 numbers

Recommended Posts

gcue

i am trying to compare 3 different numbers - not sure if this would work

(the dates drill down from year>month>day>hour>min>seconds and are in this format: 20081113092731)

any other ideas?

If $information_date > $warning_date And $information_date > $error_date Then
        $final_date = "info " & $information_date
        $Output = $iOutput
EndIf

If $warning_date > $information_date And $warning_date > $error_date Then
        $final_date = "warn " & $warning_date   
        $Output = $wOutput
EndIf
    
If $error_date > $information_date And $error_date > $warning_date Then
        $final_date = "error " & $error_date    
        $Output = $eOutput
EndIf
Edited by gcue

Share this post


Link to post
Share on other sites
monoceres

The Date* functions in Date.au3 is great when working with dates, all you have to do to get it working is to write a simle func that translates the format you have the date in now to the format Date.au3 uses.

:mellow:


Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites
gcue

cool ill try that.

btw, congrats on the MVP status :mellow:

i def think u and weaponx deserved it

Share this post


Link to post
Share on other sites
Andreik

cool ill try that.

btw, congrats on the MVP status :(

i def think u and weaponx deserved it

And Volly deserve as well. :mellow:


When the words fail... music speaks

Share this post


Link to post
Share on other sites
gcue

ahh i hadnt noticed he got promoted -- just saw weapon and mono's new icon and blue nick =>

Share this post


Link to post
Share on other sites
monoceres

And Volly deserve as well. :mellow:

... And GEOSOft :(


Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites
Andreik

... And GEOSOft :(

I did not know of his promotion, but worth it, is a smart guy. :mellow:

When the words fail... music speaks

Share this post


Link to post
Share on other sites
gcue

andreik next? :mellow:

Share this post


Link to post
Share on other sites
Andreik

andreik next? :(

OFFTOPIC:

I do not know the AutoIt for long time, something more than half a year. And I have great respect for many who are more experienced and older than me on the forum.

Thanks anyway.

I think that is enough on this matter, otherwise the risk to terminate the topic. :mellow:


When the words fail... music speaks

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  

×