Less 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

Returns
- If
Boolean
object
returns
, otherwise it returns
true
See also
typeof operator
< less than operator
expression1 < expression2
Compares two expressions and determines whether
so, the operator returns
operator returns
false
letters come before lowercase letters.
Availability: ActionScript 1.0; Flash Lite 1.0 - In Flash 4,
and later, the
(less than) operator is a comparison operator capable of handling various 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:
x < y
Converted Flash 5 or later file:
Operands
expression1 :
Number
expression2 :
Number
Returns
- The Boolean result of the comparison.
Boolean
is an instance of or a subclass of
. Also,
false
. If
true
expression1
. String expressions are evaluated using alphabetical order; all capital
Number(x) < Number(y)
- A number or string.
- A number or string.
classConstructor
_global instanceof Object
is less than
expression1
is greater than or equal to
is a numeric operator. In Flash 5
<
,
instanceof
returns
.
false
; if
expression2
, the
expression2
Operators
155

Advertisement

Table of Contents
loading

Table of Contents