Jump to content

Unable to compare 2 values

Recommended Posts


Not takes precedence over comparisons... Although I feel this needs a better example in the help file.

Edited by rcmaehl

My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.

My Projects

Cisco FinesseGithubIRC UDFWindowEx UDF


Link to post
Share on other sites
Global $variable1  = "abcdEFGH"
Global $variable2  =  "abcdefgh"

If ( $variable1 = $variable2) Then MsgBox(64, "", "=")
If StringCompare( $variable1, $variable2, 0) Then MsgBox(64, "", "StringCompare()")

If ( $variable1 == $variable2) Then MsgBox(64, "", "== casesense")
If StringCompare( $variable1, $variable2, 1) Then MsgBox(64, "", "StringCompare(casesense)")



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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...