| Syntax |
|
| Documentation | A loop that iterates over a range of tokens:
tokens, the tokens to iterate through. statement, the statement to execute while another token exists. delimiter, an optional parameter used to set the tokens delimiter (defaults to \r\t). max_loops, an optional parameter used to set the maximum amount of loops (defaults to 1000).
If some wishes more loops than that default amount the desired value should be given to the max_loops parameter. a delimiter can be any sequence of characters, but every character within it will be treated as a delimiter by itself. If the whole character sequence should be treated as one delimiter the 'forEach2' function should be used. |
| Examples | |
$getManipulateableUsers{} }
$removeUser{$get{i}} }
User removed successfully. } for each local variable "i", get manipulatable user, removes user specified in local variable "i", returns context of parameter 4, loops as long as manipulatable users available: User removed successfully. |
|
| Group | Control_Flow |
| Minimum required transaction-mode: | NONE |
| Required scripting permission of the developer | PERMISSION_FL_ADVANCED |
| Minimum parameters | 3 |
| Maximum parameters | 5 |