Previous: 2.2.7. Declarations To the Table of Contents Next: 2.2.7.2. Label Declarations
2.2.7. Declarations Table of Contents 2.2.7.2. Label Declarations

- 2.2.7.1. -
Table of Contents
2. TMT Pascal Language Description
2.2. Pascal Language Structure
2.2.7. Declarations
2.2.7.1. Type Declarations


2.2.7.1. Type Declarations


Type declarations are preceded by the Type reserved word.
Type
  identifier = Identifiertype;
Identifier is the actual name of the new type you define. Identifiertype is the type of identifier. Identifiertype can be on of the following: Some examples of type declarations are:
type
  Float        = Extended;
  Int          = Integer;
  Filename     = array [0..8] of Char;
  Fnameptr     = ^Filename;
  Seasons      = (Winter, Spring, Summer, Autumn);



Previous: 2.2.7. Declarations To the Table of Contents Next: 2.2.7.2. Label Declarations
2.2.7. Declarations Table of Contents 2.2.7.2. Label Declarations

- 2.2.7.1. -