All Commands
All Variables
Commands
ARRAY_FOR_EACH
You can create and populate arrays using the {VAR} and {SET} commands.
You can then step through the values in the array using this command.
Each value will be assigned to the variable specified by the second parameter.
The Key of the current array element will be assigned to the variable named var_KEY.
You can use the {LOOP_COUNT} command to return the current iteration.
This command requires an {END_ARRAY_FOR_EACH} command.
Number | Name | Default | Type | Description |
---|---|---|---|---|
1 | name | String | The name of the array | |
2 | var | String | The name of the Variable you want to assign each value to. |
Example
1:Clive
2:Alan
3:Chris
2:Alan
3:Chris
ARRAY Commands
ARRAY_CLEARARRAY_JOIN
ARRAY_JSON
ARRAY_QTY_IN
ARRAY_SIZE
OPT_LIST_ADD
SEQN
LOOP Commands
API_DATAAPI_FOR_EACH
CSV_FOR_EACH
FOR_EACH
FOR_LOOP
LOOP_COUNT
SEQN
WHILE