Thanks! We'll email you
when relevant content is
added and updated.
I would like to know how to read this code and what the outcome would be. its writtin in a calculation function block which typically includes IF-THEN-ELSE, DO-WHILE, etc. statements.
out1 := (in2 = 0) ? 0 : ((in1 & in3) > 0);
of course in1/2/3 are the inputs, out1 is the output. Is this a type of IF-THEN-ELSE short-hand?