Arbortext Command Language > Functions by Alphabetical Listing > oid_children
  
oid_children
oid_children (oid)
This function returns the number of children of the element specified by OID or 0 if the element contains no elements.
Examples
This function can be written using the oid_child primitives as follows:
function oid_children(parent)
{
local n = 0;
local o = oid_child(parent)
while (oid_valid(o)) {
n++
o = oid_next(o)
}
return n;
}
Related Topics
oid_child function