Relational operators compare two expressions and return a true value if the condition specified by the operator is satisfied. The relational operators use the value one (1) to indicate that the condition is true and zero to indicate that it is false.

##### Syntax

The following table shows the relational operators syntax and their meanings.

Operator | Syntax | Description
EQ .EQ. == | expression1 EQ expression2 expression1 .EQ. expression2 expression1 == expression2 | True if expressions are equal.
NE .NE. != | expression1 NE expression2 expression1 .NE. expression2 expression1 != expression2 | True if expressions are not equal.
LT .LT. < | expression1 LT expression2 expression1 .LT. expression2 expression1 < expression2 | True if expression1 is less than expression2.
LE .LE. <= | expression1 LE expression2 expression1 .LE. expression2 expression1 <= expression2 | True if expression1 is less than or equal to expression2.
GT .GT. > | expression1 GT expression2 expression1 .GT. expression2 expression1 > expression2 | True if expression1 is greater than expression2.
GE .GE. >= | expression1 GE expression2 expression1 .GE. expression2 expression1 >= expression2 | True if expression1 is greater than or equal to expression2.

##### Examples

    1 EQ 2       ; evaluates to false (0)
    1 .NE. 2     ; evaluates to true (1)
    1 LT 2       ; evaluates to true
    1 > 2        ; evaluates to false
    1 .LE. 2     ; evaluates to true
    1 >= 2       ; evaluates to false