or
- logical or
A
or
B
or calculates logical or of
A
and
B
.
A
and
B
must be Boolean values.
if
( x
==
3 or x
==
5 )
{ ... }
This will run the block if x is equal to either 3 or 5.
See also
and
|
not
|
xor