Phantomasss Posted April 24, 2009 Share Posted April 24, 2009 Hello, i do not can create a simple task . Two numbers are given: $a = 1 $b = 2 It is necessary to compare them and report to user if numbers are not equal to each other. Message: MsgBox(16, "", $a & " NOT = " & $b) I tried: $a = 1 $b = 2 If $a not = $b Then MsgBox(16, "", $a & " NOT = " & $b) EndIf it does not work... How to do it? Sorry for my bad English and thanks... Link to comment Share on other sites More sharing options...
Qousio Posted April 24, 2009 Share Posted April 24, 2009 $a = 1 $b = 2 If $a <> $b Then MsgBox(16, "", $a & " NOT = " & $ EndIf Link to comment Share on other sites More sharing options...
Phantomasss Posted April 24, 2009 Author Share Posted April 24, 2009 $a = 1$b = 2If $a <> $b Then MsgBox(16, "", $a & " NOT = " & $EndIfThank you! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now