Previous Topic: Expansion of boolean-expressionNext Topic: Parameters


Syntax

Expansion of boolean-expression

►►─┬───────┬─ comparison ─────────────────────────────────────────────────────►
   └─ NOT ─┘

 ►─┬───────────────────────────────────────┬───────────────────────────────────►◄
   │ ┌───────────────────────────────────┐ │
   └─▼─┬─ AND ─┬─┬───────┬─ comparison ──┴─┘
       └─ OR ──┘ └─ NOT ─┘

Expansion of comparison

►►─┬─ 'character-string-literal' ──────┬──────────────────────────────────────►
   ├─ numeric-literal ─────────────────┤
   ├─ arithmetic-expression ───────────┤
   ├─ db-record-field ────────────────┤
   └─ lr-field OF LR ─────────────────┘

 ►─┬─┬─ EQ ─┬───┬─┬─ 'character-string-literal' ──────┬───────────────────────►◄
   │ ├─ IS ─┤   │ ├─ numeric-literal ─────────────────┤
   │ └─ = ──┘   │ ├─ arithmetic-expression ───────────┤
   ├─ NE ───────┤ ├─ db-record-field ─────────────────┤
   ├─┬─ GT ─┬───┤ └─ lr-field OF LR ──────────────────┘
   │ └─ > ──┘   │
   ├─┬─ LT ─┬───┤
   │ └─ < ──┘   │
   ├─ GE ───────┤
   ├─ LE ───────┤
   ├─ CONTAINS ─┤
   └─ MATCHES ──┘