Le Less Than Or Equal To (Strings) Operator - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

Returns
- The Boolean result of the comparison.
Boolean
Example
The following examples show
comparisons:
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

le less than or equal to (strings) operator

expression1 le expression2
Deprecated since Flash Player 5. This operator was deprecated in Flash 5 in favor of the
(less than or equal to) operator.
Compares
expression1
than or equal to
expression2
Availability: ActionScript 1.0; Flash Player 4
Operands
expression1 : Object
expression2 : Object
Returns
- The result of the comparison.
Boolean
See also
<= less than or equal to operator
and
true
false
to
and returns a value of
expression2
,
otherwise.
false
- Numbers, strings, or variables.
- Numbers, strings, or variables.
results for both numeric and string
true
<=
if
is less
expression1
Operators
171

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF