Index
_Global.foreachInListAsValue( _list, _name )¶
Expression to control the Exit Loop If script step. You can pass a list of values into _list which is being iterated through, setting $value and $i in each iteration. If __name is specified, this will be used instead (e.g. for _name = "row" $row and $row_i are used).
Parameters¶
_list¶
Type: list (newline separated values)
Examples: "one¶two¶three", "1¶2¶3"
_name¶
optional
Type: string
Must be a valid variable name: About naming fields.
Result¶
boolean: the function returns true if $i exceeds the length of _list, otherwise false.
Example¶
Loop
Exit Loop If [ _Global.foreachInListAsValue ( "one¶two¶three"; "" ) ]
Show Custom Dialog [ "foreach demo" ; "$value " & $i & " = " & $value ]
End Loop