SHIP:Data Types:Node

From Serious Documentation
Revision as of 05:36, 14 July 2014 by TerryW-Serious (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

See Also

Node

Data Type Description
Node Reference to a node.

In general, functions that require parameters of type Node 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 static reference to a node, not one created at runtime through the getChild function.