gt (string greater than)
103
eq (string equality)
Availability
Flash Lite 1.0.
Usage
expression1
eq
expression2
Operands
expression1, expression2
Numbers, strings, or variables.
Description
Comparison operator; compares two expressions for equality and returns
true
if the string
representation of
expression1
is equal to the string representation of
expression2
;
otherwise, the operation returns
false
.
Example
The following examples show
true
and
false
results:
word = "persons";
figure = "55";
trace("persons" eq "people");// output: 0(false)
trace("persons" eq word);// output: 1(true)
trace(figure eq 50 + 5);// output: 1(true)
trace(55.0 eq 55);// output: 1(true)
See also
== (numeric equality)
gt (string greater than)
Availability
Flash Lite 1.0.
Usage
expression1
gt
expression2
Operands
expression1, expression2
Numbers, strings, or variables.
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...