Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Proposition1Proposition2Result Using ANDResult Using OR
TRUETRUE1 (TRUE)1 (TRUE)
TRUE0 (FALSE)0 (FALSE)1 (TRUE)
FALSETRUE0 (FALSE)1 (TRUE)
FALSEFALSE0 (FALSE)0 (FALSE)

See also

Bit-wise Operators: BitAndBitOrBitNotBitXorNot()

Example

Code Block
* Only assign PASS a value of 0 if the conditions are met.
if (Time GT 63) And (POINTS GE 24) then
          PASS = 0
end
/* D is set to 1 (true). E is set to 1 (true). F is set to 0 (false).*/
A = 4
B = 5
C = 0
D = A GT 3 And B LE 5
E = A And B
F = (A Or C) And (B And C)