Greater Than Operator - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

Compares two expressions for equality and returns a value of
of
is equal to the string representation of
expression1
Availability: ActionScript 1.0; Flash Lite 1.0
Operands
expression1 :
Object
expression2 :
Object
Returns
- The result of the comparison.
Boolean
See also
== equality operator
> greater than operator
expression1 > expression2
Compares two expressions and determines whether
; if it is, the operator returns
expression2
, the operator returns
expression2
order; all capital letters come before lowercase letters.
Availability: ActionScript 1.0; Flash Lite 1.0 - In Flash 4,
or later, the greater-than (
data types. Flash 4 files that are brought into the Flash 5 or later authoring environment
undergo a conversion process to maintain data type integrity. The following illustrates the
conversion of a Flash 4 file containing a numeric quality comparison. Flash 4 file:
Converted Flash 5 or later file:
Operands
expression1 :
Object
expression2 :
Object
Returns
- The Boolean result of the comparison.
Boolean
- Numbers, strings, or variables.
- Numbers, strings, or variables.
true
. String expressions are evaluated using alphabetical
false
) operator is a comparison operator capable of handling various
>
Number(x) > Number(y)
- A number or string.
- A number or string.
if the string representation
true
expression2
is greater than
expression1
. If
is less than or equal to
expression1
is a numeric operator. In Flash 5
>
,
otherwise.
false
x > y
Operators
147

Advertisement

Table of Contents
loading

Table of Contents