Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Operators > ge (string greater than or equal to) | |||
Flash Lite 1.0.
expression1geexpression2
expression1, expression2 Numbers, strings, or variables.
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.
The following examples show true and false results:
animals = "cats";
breeds = 7;
trace ("cats" ge "cattle"); // output: 0(false)
trace (animals ge "cats"); // output: 1(true)
trace ("persons" ge "people"); // output: 1(true)
trace (animals ge "Cats"); // output: 1(true)
trace (breeds ge "5"); // output: 1(true)
trace (breeds ge 7); // output: 1(true)
>= (numeric greater than or equal to)
|
|
|
|