or

or, operator

Logical OR operator.

Examples

table T = with
  [| as A, as B |]
  [| false, false |]
  [| false, true |]
  [| true, false |]
  [| true, true |]

show table "Or" with
  T.A
  T.B
  T.A or T.B as "AorB"

This produces the following table:

A B AorB
false false false
false true true
true false true
true true true

Remarks

If the left operand is true, evaluation of the right operand is unspecified.

See also

User Contributed Notes
0 notes + add a note