Checks whether at least one in a series of conditions (Logical arguments) is true.
If at least one of the arguments is true, then OR returns TRUE.
If none of the arguments is true, then OR returns FALSE.
Syntax
OR (Logical1, [Logical2],...)
Note: The required separator (comma or semi-colon) automatically corresponds to your computer’s location settings.
Data Types of the Arguments
True/False
Data Type of the Result
True/False
Example 1
Determine if either one of the Beam length properties (Length Left or Length Right) exceeds a given length.
Expression
OR (Length Left > 480 cm, Length Right > 480 cm)
Result
True or False. True for all Beams where at least one Beam length exceeds the value, otherwise False.
Example 2
Determine if a Wall is fire resistant. To be fire-resistant, the wall must meet at least one of two possible conditions: its Building Material is “Reinforced Concrete - Structural”, and/or it is at least 50 cm thick.
Expression
OR (Building Material = "Reinforced Concrete - Structural", Thickness >= 50 cm)
Result
True or False. True for all Walls whose Building Material is Reinforced Concrete, and/or whose thickness is at least 50 cm.
Note
The OR function examines a series of arguments. Within the parentheses, each item must be a logical argument that can be either true or false.