== (numeric equality)
Availability
Flash Lite 1.0.
Usage
expression1 == expression2
Operands
expression1, expression2
Description
Operator (comparison); tests for equality; the exact opposite of the
is equal to
expression1
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
trees = 7;
bushes = "7";
shrubs = "seven";
trace (trees == "7");// output: 1(true)
trace (trees == bushes);// output: 1(true)
trace (trees == shrubs);// output: 0(false)
See also
eq (string equality)
Numbers, Boolean values, or variables.
, the result is
expression2
and
true
false
<>
. As with the
true
return values:
operator. If
operator, the
<>
== (numeric equality)
97
Need help?
Do you have a question about the FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?
Questions and answers