Relational Operators

<< Click to Display Table of Contents >>

Navigation:  Problem Descriptor Reference > The Elements of a Descriptor > Operators >

Relational Operators

Previous pageReturn to chapter overviewNext page

The following operators may be used in constructing conditional expressions:

 

Relational Operators

 

Operator

Definition

=

Equal to

<

Less than

>

Greater than

<=

Less than or equal to

>=

Greater than or equal to

<>

Not equal to

 

Relational Combinations

 

Operator

Definition

 

AND

Both conditions true

OR

Either condition true

NOT

(Unary) reverses condition

 

Assignment Operator

 

In addition to its use as an equal operator, problem descriptors use the '=' symbol to assign (associate) values functions and expressions with defined names.