True
True
100
100
True
Nested Repeat Loops Example
76a4eb0f-cb67-493d-8a9b-8d0115891cbf
LIKE THIS
Like This
SET ParentCtr NU TO 1
SET ChildCtr NU TO 1
SET ExpIndex NU TO (ParentCtr NU * Array size NU) + 1
WHILE ParentCtr NU <= OutsideCount
WHILE ChildCtr NU <= ICap NU[ParentCtr NU]
SET HD Child Prior Address TE[ParentCtr NU, ChildCtr NU] TO Child prior address TE[ExpIndex NU]
SET HD Start Date TE[ParentCtr NU, ChildCtr NU] TO Start date TE[ExpIndex NU]
SET HD End Date TE[ParentCtr NU, ChildCtr NU] TO End date TE[ExpIndex NU]
SET HD current address TE[ParentCtr NU, ChildCtr NU] TO Current address TE[ExpIndex NU]
INCREMENT ExpIndex NU
INCREMENT ChildCtr NU
END WHILE
INCREMENT ParentCtr NU
SET ChildCtr NU TO 1
SET ExpIndex NU TO (ParentCtr NU * Array size NU) + 1
END WHILE
""
RESULT + Child name first TE + " " + Child name last TE
RESULT
""
ASK NONE
REPEAT Children Information
FORMAT "A, B and C"
RESULT + Child name full CO
END REPEAT
RESULT
he
she
he
she
they
him
her
him
her
them
his
her
his
her
their
his
hers
his
hers
theirs