x equals y?¶
Enables a conditional jump to another sequence. If the value of variable x matches the value of variable y, the task jumps to the sequence of the sequence change ‘True’. Accordingly, program execution continues with the sequence of the sequence change ‘False’ if x is not equal to y.
Furthermore, a sequence change can also be left empty. In this case, program execution continues with the next task of the active sequence, provided the corresponding condition is met.
Example: x = 1, y = 5, True: empty, False: sequence ‘My sequence’
In this situation, the active sequence would simply continue to be processed, as the condition ‘x = y’ is not fulfilled and no sequence has been assigned to the sequence change ‘True’.
Hint
Variable types of x and y must be compatible. Strings are compatible with product, box, ROI and obstacle. All other variable types are only compatible with themselves.
Variablen¶
Name |
Typ |
Description |
|---|---|---|
x |
Bool, Integer, String, Product, Box, ROI, Obstacle |
– |
y |
Bool, Integer, String, Product, Box, ROI, Obstacle |
– |
Sequence change¶
Name |
Condition |
Remark |
|---|---|---|
True |
\(x = y\) |
– |
Wrong |
\(x \ne y\) |
– |