Onetastic Macro Documentation >
>
ForEach
ForEach Statement
Description
Iterates over a given array, stores each element in the array in the given variable and executes a set of for each iteration. You can break out of a ForEach loop using a Break statement or skip to the next iteration using a Continue statement.
Syntax
ForEach ($variable in array-expression )
Statements...
See Also
|