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.5 The for-as-across subclause
In the for-as-across subclause the for
or as construct binds the variable var to the value of
each element in the array vector.
The loop keyword across marks the array vector; across
is used as a preposition in this syntax.
Iteration stops when there are no more elements in the supplied
array that can be referenced.
Some implementations might recognize a the special form
in the vector form to produce more efficient code.
18.104.22.168.5.1 Examples of for-as-across subclause
See cl:loop and the for-as-in-sequnce subclause for looping over sequences for a description of the additional for-as-in-sequence clause in Allegro CL.