cobol1.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Relation Condition (↑ Statements)
 Key                                       Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Construct:    Relation Condition
 
  Function:     Comparison between data items
 
  Syntax:       Which format?   Relation Condition   Class Condition
                               Sign Condition      Pointer Condition
 
  ─┬─identifier-1────────────┬─┬┬───┬─┬┬─────┬┬─GREATER─┬────┬─┬────┬───
     ├─literal-1───────────────┤ │├IS─┤ │└─NOT─┘│         └THAN┘ │    │
     ├─arithmetic-expression-1─┤ │└ARE┘ │       ├─ > ────────────┤    │
     └─index-name-1────────────┘ │      │       ├─LESS─┬────┬────┤    │
                                 │      │       │      └THAN┘    │    │
                                 │      │       ├─ < ────────────┤    │
                                 │      │       ├─EQUAL─┬──┬─────┤    │
                                 │      │       │       └TO┘     │    │
                                 │      │       └─ = ────────────┘    │
                                 │      ├─GREATER─┬────┬─OR EQUAL─┬──┬┤
                                 │      │         └THAN┘          └TO┘│
                                 │      ├─ >= ────────────────────────┤
                                 │      ├─LESS─┬────┬─OR EQUAL─┬──┬───┤
                                 │      │      └THAN┘          └TO┘   │
                                 │      ├─ <= ────────────────────────┤
                                 │      ├─UNEQUAL─┬──┬────────────────┤
                                 │      │         └TO┘                │
                                 │      └─ <> ────────────────────────┤
                                 ├───────EQUALS───────────────────────┤
                                 └───────EXCEEDS──────────────────────┘
 
   ─┬─identifier-2────────────┬──
     ├─literal-2───────────────┤
     ├─arithmetic-expression-2─┤
     └─index-name-2────────────┘
                                    -♦-