Previous: Set Operators To the Table of Content Next: Typecasts

- 2.2.8.4 -
TMT Pascal Language Description
Pascal Language Structure
Expressions

Relational Operators

Relational operators perform arithmetic, literal, and set comparisons. All relational operations result in a Boolean type. Relational operators include:

 Operator MeaningApplicable types
=Equal  integers, reals, booleans, chars,
 enumerations, strings, sets, pointers
<Less than  integers, reals, boolean, char,
 enumerations, strings, pointers
>Greater than  integers, reals, boolean, chars,
 enumerations, strings, pointers
<=Less than or equal  integers, reals, booleans, set inclusion,
 chars, enumerations, strings, pointers
>=Greater than or equal  integers, reals, booleans, set inclusion;
 chars, enumerations, strings, pointers
<>Not equal  integers, reals, booleans, chars,
 enumerations, strings, sets, pointers
inMembership  A set type on the right and the set's
 base type on the left



Previous: Set Operators To the Table of Content Next: Typecasts
Set Operators Table of Content Typecasts

- 2.2.8.4 -