Home > Expression Operators > Logical Operators > #OR

#OR

Returns 1 if LogicalValue1, LogicalValue2, or both equal 1; otherwise 0.

Syntax:

LogicalValue1 #OR LogicalValue2

LogicalValue1 and LogicalValue2 must be 0 or 1.

Examples:

1 #OR 1 equals 1

1 #OR 0 equals 1

0 #OR 0 equals 0

(STATUS = 1) #OR (STATUS = 4)

Related Operators:

#AND

#NOT