<> (numeric inequality)

Availability

Flash Lite 1.0.

Usage

expression1 <> expression2

Operands

expression1, expression2 Numbers, Boolean values, or variables.

Description

Operator (comparison); tests for inequality; the exact opposite of the equality (==) operator. If expression1 is equal to expression2, the result is false. As with the equality (==) operator, the definition of equal depends on the data types being compared:

Example

The following examples show true and false returns:

trees = 7;
B = "7";

trace(trees <> 3);        // output: 1(true)
trace(trees <> B);    // output: 0(false)

See also

ne (string inequality)