null
Availability
Flash Player 5.
Usage
null
Parameters
None.
Returns
Nothing.
Description
Constant; a special value that can be assigned to variables or returned by a function if no data
was provided. You can use
data type.
Example
In a numeric context,
statement, a binary tree node has no left child, so the field for its left child could be set to
if (tree.left == null) {
tree.left = new TreeNode();
}
ActionScript Language Reference
to represent values that are missing or that do not have a defined
null
evaluates to 0. Equality tests can be performed with
null
CHAPTER 2
. In this
null
.
null
null
647
Need help?
Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?
Questions and answers