-
Notifications
You must be signed in to change notification settings - Fork 1
mtbeek32 edited this page Jan 31, 2024
·
7 revisions
Logical functions or (||)
- or(condition1 ,.., conditionn)
- condition1 || condition2
or(condition1 ,.., conditionn) or condition1 || condition2 combines two or more conditions or results in true values if any condition is true and in false values if all conditions are false.
- condition1 .. conditionn data items with bool value type
The conditions need to match with regard to their domain unit or be void (literals or parameters can be combined with data items of any domain).
1. attribute<bool> condA_or_condB (LDomain) := or(condA, condB);
2. attribute<bool> condA_or_condB (LDomain) := condA && condB;
condA | condB | condA_or_condB |
---|---|---|
False | False | False |
False | True | True |
True | False | True |
True | True | True |
LDomain, nr of rows = 4
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.