MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE Reference page 115

Actionscript language reference
Table of Contents

Advertisement

See also
+ (addition)
< (less than)
Availability
Flash Player 5.
Usage
expression1 < expression2
Parameters
expression1,expression2
Returns
A Boolean value.
Description
Operator (comparison); compares two expressions and determines whether
than
expression2
, the operator returns
expression2
order; all capital letters come before lowercase letters.
For more information, see
Example
The following examples show
trace(3<10); // 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
<< (bitwise left shift)
Availability
Flash Player 5.
Usage
expression1 << expression2
Parameters
expression1
expression2
A number or string.
; if so, the operator returns
false
"Operator precedence and associativity" on page
and
true
A number or expression to be shifted left.
A number or expression that converts to an integer from 0 to 31.
. If
true
expression1
. String expressions are evaluated using alphabetical
returns for both numeric and string comparisons:
false
is less
expression1
is greater than or equal to
32.
<< (bitwise left shift)
115

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flex

Table of Contents