MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE Reference page 118

Actionscript language reference
Table of Contents

Advertisement

Parameters
expression1,expression2
Returns
A Boolean value.
Description
Operator (comparison); compares two expressions and determines whether
than or equal to
, the operator returns
expression2
order; all capital letters come before lowercase letters.
For more information, see
Example
The following examples show
trace(5<=10); // true
trace(2<=2); // true
trace(10<=3); // false
trace("Allen"<="Jack"); // true
trace("Jack"<="Allen"); // false
trace("11"<="3"); // true
trace("11"<=3); // false (numeric comparison)
trace("C"<="abc"); // true
trace("A"<=a); // true
= (assignment)
Availability
Flash Player 4.
Usage
expression1 = expression2
Parameters
A variable, element of an array, or property of an object.
expression1
A value of any type.
expression2
Returns
The assigned value,
118
Chapter 5: ActionScript Core Language Elements
A number or string.
; if it is, the operator returns
expression2
false
"Operator precedence and associativity" on page
and
true
.
expression2
true
. String expressions are evaluated using alphabetical
results for both numeric and string comparisons:
false
expression1
. If
is greater than
expression1
32.
is less

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex

Table of Contents