Data editing > Flow control > Loops > Nested loops
 
Nested loops
Loops may contain other loops: this is called nesting. Loops may be nested up to six levels deep, but they must not overlap. Also, each loop must have a separate terminating statement. In other words, they must always take the form:
do 60 t2 =
do 70 t3 =
do 80 t4 =
       .
       .
80 continue
70 continue
60 continue
or
do 60 t2 =
do 70 t3 =
       .
70 continue
do 80 t4 =
       .
80 continue
60 continue
See also
Loops