NBS_GET_CHILDREN

Get the number of children of a structured item

Description:

Check that the ID is not NIL and does not pertain to a primitive item.
Return the number of children that it has.

Invocation

(Int) = NBS_GET_CHILDREN (ID,CHILDREN,STATUS)

Arguments

ID = INTEGER (Given)
Identifier of the item whose number of children is to be got.
CHILDREN = INTEGER (Returned)
Number of children.
STATUS = INTEGER (Given and returned)
The global status. Possible return values are,
NBS__NILID NIL ID

NBS__PRIMITIVE Parent is primitive