Previous: 2.2.8.3. Set Operators To the Table of Contents Next: 2.2.8.5. Typecasts
2.2.8.3. Set Operators Table of Contents 2.2.8.5. Typecasts

- 2.2.8.4. -
Table of Contents
2. TMT Pascal Language Description
2.2. Pascal Language Structure
2.2.8. Expressions
2.2.8.4. Relational Operators


2.2.8.4. 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: 2.2.8.3. Set Operators To the Table of Contents Next: 2.2.8.5. Typecasts
2.2.8.3. Set Operators Table of Contents 2.2.8.5. Typecasts

- 2.2.8.4. -