forlang.hlp (Table of Contents; 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.
Relational Expressions
                                             Up Contents Index Back
─────Relational Expressions─────────────────────────────────────────────────
 
     Relational expressions compare the values of two arithmetic
     expressions.
 
     An arithmetic expression can be compared with a character
     expression. The arithmetic expression is treated as if it were a
     character expression (a sequence of byte values).
 
     A relational expression produces a result of type LOGICAL (.TRUE.
     or .FALSE.).
 
     Relational Operators
 
     Operator        Operation
 
     .LT.            Less than
 
     .LE.            Less than or equal to
 
     .EQ.            Equal to
 
     .NE.            Not equal to
 
     .GT.            Greater than
 
     .GE.            Greater than or equal to
 
     All relational operators are binary operators and appear between
     their operands.
 
     Relational expressions with character operands compare the position
     of their operands in the ASCII collating sequence.
                                    -♦-