SHIP:Data Types:Node

From Serious Documentation
Revision as of 05:33, 14 July 2014 by TerryW-Serious (talk | contribs) (TerryW-Serious moved page SHIP:Data Types:Reference to SHIP:Data Types:Node)
Jump to: navigation, search

See Also

Reference

Data Type Description
Reference Reference to a node or one of its properties.

Properties and parameters that are of type Reference must receive a value that is known at SHIPTide time, not a value that is dynamically assigned at run time. For example, the following statement will fail:

getChildIndex(getChild(myParent, index));    // fails instead of returning index

The above code is illegal since getChildIndex expects a Reference to a node but getChild returns the node itself.