next up previous contents index
Next: Arithmetic Comparisons Up: Relational Expressions Previous: Relational Expressions

General Forms of Relational Expression

arithmetic-exprn rel-op arithmetic-exprn
or character-exprn rel-op character-exprn
In either case the resulting expression has the logical type. The relational operator rel-op can be any of the following:

.EQ. equal to
.GE. greater than or equal to
.GT. greater than
.LE. less than or equal to
.LT. less than
.NE. not equal to

Note that these operators need a decimal point at either end to distinguish them from symbolic names.

Helen Rowlands