613-518-1166 info@zimdatabases.com

ZIM Language Reference

OR

< All Topics

Performs a Boolean OR of two logic expressions.

Syntax

expression1 OR expression2

Parameters

expression1

A logic expression using conditional and Boolean operators. If the expression is complex, it must be enclosed in parentheses.

expression2

A logic expression using conditional and Boolean operators. If the expression is complex, it must be enclosed in parentheses.

Return Value

Logical, as follows:

Truth Table for Boolean OR

Expression1

True

False

Expression2

True

True

True

False

False

False

Example

The following expression is logically false only if Salary is 30,000 and Bonus is 0. In all other cases, the expression is logically true.

Salary <> 30000 or Bonus <> 0

 

See Also

About Boolean Expressions

About Conditional Expressions

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents