FOR Loop

A FOR loop can be used to iterate through a list of items contained within a script variable, as shown in the following example:

$list = "1"

$list::add("2")

$list::add("3")

FOR($listValue : $list)

    @script::log($listValue)

ENDFOR

This will result in the output:

1

2

3

Flow Control