An inequality operator returns false if its operands are equal, true otherwise.
? = exp1 != exp2
? = exp1 <> exp2
? = exp1 >< exp2
exp1, exp2: aexp
For primitive and value types, an inequality operator will return true if the values of its operands are different, false otherwise. For the String type, it compares the values of the strings and returns false if they are identical (see Mode Compare for more information on comparing strings).
OpenW # 1
Global Int32 i = 32, b = 30
Print b != i // Prints True
i = 30
Print b <> i // Prints False
Print (2 <> 1) != (2 >< 2) // Prints True
Do
Sleep
Until Win_1 Is Nothing
The <>, >< and != operators are synonymous, the former coming from classic BASIC, the latter from C.
<, >, =<, <=, >=, =>, =, ==, Operator Hierarchy
{Created by Sjouke Hamstra; Last updated: 17/09/2014 by James Gaite}