Jump to content

compare 3 numbers


gcue
 Share

Recommended Posts

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
Link to comment
Share on other sites

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...