EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE - Eq (String Equality); Gt (String Greater Than)

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE
162 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.

Table of Contents

Related product manuals