User Guide

<> (inequality) 1081
<> (inequality)
Availability
Flash 2 . This operator was deprecated in Flash 5; Macromedia recommends that you use the !=
(inequality)
operator.
Usage
expression1 <> expression2
Parameters
expression1,expression2
A number, string, Boolean value, variable, object, array,
or function.
Returns
A Boolean value.
Description
Operator (inequality); tests for the exact opposite of the equality (==) operator. If expression1 is
equal to
expression2, the result is false. As with the equality (==) operator, the definition of
equal depends on the data types being compared:
Numbers, strings, and Boolean values are compared by value.
Objects, arrays, and functions are compared by reference.
Variables are compared by value or by reference depending on their type.
For more information, see “Deprecated Flash 4 operators in Using ActionScript Help.
See also
!= (inequality)