FOREACH
The statement FOREACH enumerates a set of objects and runs a block of instructions once for each object. The enumerated object is available in a variable for use in the script part.
You can use specific FOREACH statements for each type of enumeration. All FOREACH statements use the following format.
FOREACH <kind> <variable> IN <object>
DO
<Template scripting part with declarations>
OD