EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE - Ge (String Greater than or Equal To)

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...
104 Flash Lite Operators
Description
Operator (comparison); compares the string representation of expression1 to the string
representation of
expression2 and returns a true value if expression1 is greater than
expression2; otherwise, it returns a false value. Strings are compared using alphabetical
order; digits precede all letters, and all capital letters precede lowercase letters.
Example
The following examples show true and false results:
animals = "cats";
breeds = 7;
trace ("persons" gt "people");// output: 1(true)
trace ("cats" gt "cattle");// output: 0(false)
trace (animals gt "cats");// output: 0(false)
trace (animals gt "Cats");// output: 1(true)
trace (breeds gt "5");// output: 1(true)
trace (breeds gt 7);// output: 0(false)
See also
> (numeric greater than)
ge (string greater than or equal to)
Availability
Flash Lite 1.0.
Usage
expression1 ge expression2
Operands
expression1, expression2 Numbers, strings, or variables.
Description
Operator (comparison); compares the string representation of expression1 to the string
representation of
expression2 and returns a true value if expression1 is greater than or
equal to
expression2; otherwise, it returns a false value. Strings are compared using
alphabetical order; digits precede all letters, and all capital letters precede lowercase letters.

Table of Contents

Related product manuals