blob: 678ff19a458cc855b6c633a72bf93003e6a8c440 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
% CPSC-KEYWORD-OR(7)
# NAME
cpsc-keyword-or - combine conditions with logical OR
# SYNOPSIS
```text
left OR right
```
# DESCRIPTION
Return BOOLEAN: true when either operand is true. Both operands must be BOOLEAN; numbers and characters are rejected. Both operands are evaluated; OR does not short-circuit. OR binds less tightly than AND and comparisons.
# EXAMPLE
```text
OUTPUT (3 < 2) OR (4 > 1)
```
# SEE ALSO
[cpsc-language-overview(7)](../cpsc-language-overview.7.md), [cpsc-keyword-and(7)](cpsc-keyword-and.7.md), [cpsc-keyword-not(7)](cpsc-keyword-not.7.md), [cpsc-keyword-if(7)](cpsc-keyword-if.7.md).
|