![MACROMEDIA FLASH 8-FLASH Reference Download Page 99](http://html2.mh-extra.com/html/macromedia/flash-8-flash/flash-8-flash_reference_3347197099.webp)
<> (numeric inequality)
99
Example
The following examples show
true
and
false
results:
trace(3.14 >= 2);// output: 1(true)
trace(3.14 >= 4);// output: 0(false)
See also
ge (string greater than or equal to)
<> (numeric inequality)
Availability
Flash Lite 1.0.
Usage
expression1 <> expression2
Operands
expression1, expression2
Numbers, Boolean values, or variables.
Description
Operator (comparison); tests for inequality; 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 and Boolean values are compared by value.
■
Variables are compared by reference.
Example
The following examples show
true
and
false
returns:
trees = 7;
B = "7";
trace(trees <> 3);// output: 1(true)
trace(trees <> B);// output: 0(false)
See also
ne (string inequality)
Summary of Contents for FLASH 8-FLASH
Page 1: ...Flash Lite 1 x ActionScript Language Reference...
Page 6: ...6 Contents...
Page 46: ...46 Flash Lite Global Functions...
Page 62: ...62 Flash Lite Properties...
Page 76: ...76 Flash Lite Statements...
Page 110: ...110 Flash Lite Operators...
Page 162: ...162 Index...