> (greater than)
Availability
Flash Player 4.
Usage
expression1 >expression2
Parameters
expression1,expression2
Returns
A Boolean value.
Description
Operator (comparison); compares two expressions and determines whether
greater than
expression2
to
expression2
order; all capital letters come before lowercase letters.
For more information, see
Example
In the following example, the greater than (>) operator is used to determine whether the value of
the text field
score_txt
if (score_txt.text>90) {
trace("Congratulations, you win!");
} else {
trace("sorry, try again");
}
>= (greater than or equal to)
Availability
Flash Player 4.
Usage
expression1 >= expression2
Parameters
expression1, expression2
Returns
A Boolean value.
Description
Operator (comparison); compares two expressions and determines whether
greater than or equal to
124
Chapter 5: ActionScript Core Language Elements
A number or string.
; if it is, the operator returns
, the operator returns
"Operator precedence and associativity" on page
is greater than 90:
A string, integer, or floating-point number.
expression2
. If
true
. String expressions are evaluated using alphabetical
false
(
) or
true
expression1
expression1
is less than or equal
expression1
32.
expression1
is less than
expression2
is
is
(
).
false
Need help?
Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?