CountChildren.bb 119 B

12345
  1. If CountChildren(entity) > 0
  2. For childcount = 1 to CountChildren(entity)
  3. child = GetChild(entity,childcount)
  4. Next
  5. Endif