...
Code Block | ||||
---|---|---|---|---|
| ||||
select when wovyn new_temperature
foreach [1, 2, 3] setting (x,i) |
This statement would execute the entire rule three times with the variable x
bound to 1, 2, and 3 in each successive execution. A second name is optional in the setting clause. Here, the name i
will be bound to the index of each array element, i.e. 0, 1, and 2 in each successive execution.
...