Validity: Rule, Task
This variable allows defining the handling of the execution of the same rule called multiple times in the same system sampling.
Syntax |
I32 same_rule = value |
---|---|
value = 0 |
Output warning and execution of first occurrence only |
value = 1 |
No warning is output and only the first occurrence is executed |
value = 2 |
No warning is output and all occurrences are executed |
Notes |
Default value: 0 |
Example
; I set the value of same_rule to 1 same_rule = 1 |
Example
; if same_rule is worth 2 then in sr(1) will be stored ; the string "all occurrences are executed" _if(same_rule = 2) sr(1) = "all occurrences are executed" |