Previous: 2.2.6.11. Variant Types To the Table of Contents Next: 2.2.6.13. Record Types
2.2.6.11. Variant Types Table of Contents 2.2.6.13. Record Types

- 2.2.6.12. -
Table of Contents
2. TMT Pascal Language Description
2.2. Pascal Language Structure
2.2.6. Types
2.2.6.12. Set Types


2.2.6.12. Set Types


Set types specify a subset of a set of values. The ordinal value of the set elements must range between 0 and 255. 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;



Previous: 2.2.6.11. Variant Types To the Table of Contents Next: 2.2.6.13. Record Types
2.2.6.11. Variant Types Table of Contents 2.2.6.13. Record Types

- 2.2.6.12. -