Choice ( <title>,<message>,<text1>[,<text2>,...] ) | ChoiceDefault ( <title>,<message>,<default>,<timeout>,<text1>,[<text2>,...] ) Case ( <index>[,<index>,...] ) EndChoice (if only one text is given, it's assumed to be a array variable)
Switch ( <value> ) Case ( <index>[,<index>,...] ) EndSwitch
While ( <condition> ) EndWhile
Repeat ( <count> ) EndRepeat
ForEach <variable> in values ( <value>{,<value>} ) | ForEach <variable>[,<variable>] in array ( <array variable> ) | ForEach <variable> in split ( <string>,<seperator>,<trim?> ) | ForEach <variable> in charsOf ( <string>,<seperator> ) | ForEach <variable> in iniSections ( <file/url> ) | ForEach <keyVariable>,<valueVariable> in iniKeys ( <file/url>,<section> ) | ForEach <variable> in regSubkeys ( <root>, <key> ) | ForEach <valueVariable>,<dataVariable> in regValues ( <root>,<key> ) | ForEach <variable> in files ( <file/url>,<files> ) | ForEach <variable> in directories ( <file/url>,<directories> ) EndForEach
Call( <subroutine> { , <parameter> } ) CallFunction( <subroutine>, <result variable>, { , <parameter> } ) (mind to use quotes for the subroutine name, e.g. "Call ("MySubRoutine")" or use the old syntax without parentheses, like "Call MySubRoutine").