Check if one or both of two expression are logically true.
An OrExpr
is a logical expression that is evaluated by
determining the effective
boolean value (ebv) of each of its operands. The value of the
OrExpr
is then determined as follows:
or expression
|
ebv(op2) = true
|
ebv(op2) = false
|
error in ebv(op2) |
---|---|---|---|
ebv(op1) = true
|
true
|
true
|
true or error
|
ebv(op1) = false
|
true
|
false
|
error |
error in ebv(op1) | true or error
|
error | error |
Select all patients born in 1950 or 1960:
for $a in input()/patient where $a/born = 1950 or $a/born = 1960 return $a
The following construct(s) refer to this construct:
This construct is also related to the following construct(s):
AndExpr
|