6 Iteration 6.1 The LOOP Facility 6.1.2 Variable Initialization and Stepping Clauses 184.108.40.206 Iteration Control
220.127.116.11.4 The for-as-equals-then subclause
In the for-as-equals-then subclause
or as construct
initializes the variable var by setting it to the
result of evaluating form1 on the first iteration, then setting
it to the result of evaluating form2 on the second and
subsequent iterations. If form2 is omitted, the construct
uses form1 on the second and
The loop keywords = and then serve as valid prepositions
in this syntax.
This construct does not provide any termination tests.
18.104.22.168.4.1 Examples of for-as-equals-then subclause