7.8.10. Triangular Nested Loop
The initialization, step, and limit values do not have to be constants. By using the count value from an outer loop as the limit of an inner loop, the counter effectively walks through a triangular set of indices.
The token-passing structure for this loop is identical to that for the rectangular loop, except for the parameterization of the loops.
The model file is forloop_triangle.mdl.