BranchNumChildren

See also: ParentID, VariableID

Syntax


BranchNumChildren, or
BranchNumChildren(Branch:Variable)

Description

Returns the number of branch immediately below  (i.e. at the next level down) from either the current branch or the specified branch:variable reference.  This function can be useful when you need to pass information about the LEAP tree structure to an external script or DLL.

Example

If the demand branch has 4 sectors below it then:

BranchNumChildren(Demand) = 4 .