EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE - () (Parentheses)

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE
162 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
() (parentheses) 101
Example
The following examples show true and false results for numeric comparisons:
trace(5 <= 10);// output: 1(true)
trace(2 <= 2);// output: 1(true)
trace (10 <= 3);// output: 0 (false)
See also
le (string less than or equal to)
() (parentheses)
Availability
Flash Lite 1.0.
Usage
(expression1 [, expression2])
(expression1, expression2)
expression1, expression2
Numbers, strings, variables, or text.
parameter1,..., parameterN A series of parameters to execute before the results are
passed as parameters to the function outside the parentheses.
Description
Operator; groups one or more parameters, performs sequential evaluation of expressions, or
surrounds one or more parameters and passes them as parameters to a function outside the
parentheses.
Usage 1: Controls the order in which the operators execute in the expression. Parentheses
override the normal precedence order and cause the expressions within the parentheses to be
evaluated first. When parentheses are nested, the contents of the innermost parentheses are
evaluated before the contents of the outer ones.
Usage 2: Evaluates a series of expressions, separated by commas, in sequence, and returns the
result of the final expression.

Table of Contents

Related product manuals