Description
Operator (comparison); compares the string representation of
representation of
expression2
; otherwise, it returns a
expression2
order; digits precede all letters, and all capital letters precede lowercase letters.
Example
The following examples show
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
Description
Operator (comparison); compares the string representation of
representation of
expression2
equal to
expression2
alphabetical order; digits precede all letters, and all capital letters precede lowercase letters.
104
Flash Lite Operators
and returns a
false
and
true
false
Numbers, strings, or variables.
and returns a
; otherwise, it returns a
expression1
value if
true
expression1
value. Strings are compared using alphabetical
results:
expression1
value if
true
expression1
value. Strings are compared using
false
to the string
is greater than
to the string
is greater than or