Validity: Rule, Task
This keyword gives access to the variable that contains the execution order of the rules executors.
Syntax |
I32 oc (I32 n) |
---|---|
n |
Executor number. Minimum representable number: 1 Maximum representable number: 32 |
Attributes |
Read only |
If the value of the variable is zero (or negative), the executor is not enabled.
Esempio
; if ret=1 it means that the 32 executor will be the first to be executed ; The rule previously assigned to it via the group instruction, ; consequently will also be the first ; By default, executor 1 will be the first to be executed ; while the 32 will be the last ret = oc(32) |
Example
INT foo pippo = oc(1) select(foo) case 1 sr(1) = "The first executor will be the first to be executed" break case 2 sr(1) = "The first executor will be the second to be executed" break case 3 sr(1) = "The first executor will be the third to be executed" break endselect |