RPG – FOR

FOR is used to setup a loop where an index can be set and changed by the setting on the FOR conditions. ENDFOR or END is used to define the end of the group of operations within the loop. The starting value of the index is set via an assignment on the FOR row. BY […]