If that can help someone understand the why is it like that, the truth table of the AND , OR.
AND needs all inputs to be at 1 to return 1, otherwise 0
OR needs all inputs to be at 0 to return 0, otherwise 1
C2 comparisons operators like = ; < ; > ; <> and so on returns 0 if false and 1 if true
So you need to try :
Compare two values :
((T = 2)|(T = 1)|(T = 3)|(T = 4))
=
1
if you want some thing to happen if T is 2; 1; 3; or 4
It is not only an computer thing, a lot of devices are considered to have only to opposite states, and so logical equations exists for them too (however syntax is not the same, the OR is + and the AND is .)