logo-header

 
 

syntax

  • or(condition1, ..., conditionn)
  • condition1 || condition2

definition

or(condition1, ..., conditionn) or condition1 || condition2 combines two or more conditions and results in true values if any condition is true and in false if all conditions are false.

applies to

Conditions with bool value type

conditions

The conditions need to match with regard to their domain or be void (literals or parameters can be combined with data items of any domain).

since version

5.15

example

attribute<bool> condA_or_condB (LDomain) := or(condA, condB); 
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

see also


OBJECT VISION BV
Vrije Universiteit
De Boelelaan 1085
1081 HV Amsterdam
The Netherlands

tel: +31 (0)20 598 9083
fax:+31 (0)20 598 9904