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.


Active: IRC UDF, WindowEx UDF
Discontinued: GithubBubbleSort UDF

Share this post

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)")



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


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.