set

Creates an array within a local template variable.

Copy
{set(string arrayName, ["value1","value2"])}

Note that this can also be accomplished by simply using the format {varName = [“value1″,”value2”]}.

Example

{set("testArray", ["item1","item2","item3"])}
{testArray[0]} = item1