- 2.2.6.12 -
TMT Pascal Language Description
Pascal Language Structure
TypesSet Types
Set types specify a subset of a set of values. The ordinal value of the set
elements must range between 0 and 255.
- Characters
- Enumeration type
- Positive integer values
- Subrange of the above three
- Ordinal types
Each value in a set is defined by one bit, therefore each value is similar
to a Boolean. The following are examples of sets:
type
set of 0..7;
set of '0'..'9';
set of Char;
|
|
|
Variant Types |
Table of Content |
Record Types |
- 2.2.6.12 -