Relational operators

Relational operators

The following operators can be used to compare INTEGER expressions or to compare REAL expressions.

 >   Greater than
 <   Less than

The following operators can be used to compare INTEGER expressions. Their use to compare REAL expressions is not recommended because of the likelihood of round-off error.

==  Equal to
>=  Greater than or equal to
<=  Less than or equal to
/=  Not equal to

The result of a comparison is one of the two logical values true and false.

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited