FOREACH(<iterator>)

Category
Control Flow
Added in
v0.9

Runs a loop over the specified iterator. Needs to be closed with NEXT.

The iterator can either be one of the these or an array.

The loop can be stopped early by using BREAK.

Alternative Syntax:

FOREACH(<&array[]>,<&content>,[#index])
FOREACH(<&array[]> as <&content>)
FOREACH(<&array[]> as <#index> => <&content>)

Actions

Changelog