Operators > > (greater than)

> (greater than)

Syntax

expression1 > expression2

Arguments

expression1,expression2 Integers, floating-point numbers, or strings.

Description

Operator (comparison); compares two expressions and determines whether expression1 is greater than expression2 (true), or whether expression1 is less than or equal to expression2 (false).

Player

Flash 4; Flash 5 or later. In Flash 5 > is a comparison operator capable of handling various data types. In Flash 4 > is an numeric operator. Flash 4 files brought into the Flash 5 authoring environment undergo a conversion process to maintain data type integrity. The example below illustrates the conversion process.

Example

The following illustrates the conversion of a Flash 4 file containing a numeric quality comparison.

Flash 4 file:

x > y

Converted Flash 5 file:

Number(x) > Number(y)