S
Suppose I have two conditional expressions.
The first expression is:
[PLC5,0001-15]&~[PLC5,0001-14]|[PLC5,0050-11]
The second expression is:
[PLC5,0001-15]&&~[PLC5,0001-14]||[PLC5,0050-11]
Incidentally, expressions very similar to these are being used in a PanelMate HMI for conditional visibility.
My question is will the above-mentioned expressions be evaluated any different because the first expression has a bit-wise AND and bit-wise OR, while the second expression has the Logical AND and Logical OR operators? Is there any instance where the two conditional expressions are not always both true or both false? I contend that the two expressions evaluate identically every time. Analogously, the expressions are two different paths that lead to the same destination.
Please contact me if clarification is needed. Thanks.
The first expression is:
[PLC5,0001-15]&~[PLC5,0001-14]|[PLC5,0050-11]
The second expression is:
[PLC5,0001-15]&&~[PLC5,0001-14]||[PLC5,0050-11]
Incidentally, expressions very similar to these are being used in a PanelMate HMI for conditional visibility.
My question is will the above-mentioned expressions be evaluated any different because the first expression has a bit-wise AND and bit-wise OR, while the second expression has the Logical AND and Logical OR operators? Is there any instance where the two conditional expressions are not always both true or both false? I contend that the two expressions evaluate identically every time. Analogously, the expressions are two different paths that lead to the same destination.
Please contact me if clarification is needed. Thanks.