Page History
7.62 FOR
| Note |
|---|
| Note: Usage options |
The FOR/ENDFOR command enables the definition of a looping block of code which can be used to iterate through user-defined collections and collections provided by LANSA.
The loop is run once per item identified in the EACH parameter.
Also See
| Panel | ||
|---|---|---|
| ||
Required FOR --- EACH --------- #VariableName -------------------> >-- IN ------------ #Expression ------------------------> Optional >-- KEY------------ #KeyVariableName ----------------> >-- OPERATION----*DEFAULT ---------------------------| |