ENDFOR
end a FOREACH block
Each FOREACH statement in a macro must be coupled with an ENDFOR statement at the end of the FOREACH block. Note that FORALL commands are single-line blocks that do not require a terminating ENDFOR. SEE ALSO: FORALL, FOREACH, BREAK