Guarded Statements
If assignment or append statements must be executed conditionally, the following syntax can be used:
Syntax |
| |
---|---|---|
Semantics | The set and append statements are applied only if the boolean guard expression evaluates to true. | |
Substitutables |
| Any object name. |
| A valid expression. | |
| An expression evaluating to an array. | |
| Any expression evaluating to a boolean. | |
Examples |
NONE
|
Related Pages:
Basics of the Action Script Language: