Previous: Declarations To the Table of Content Next: Label Declarations

- 2.2.7.1 -
TMT Pascal Language Description
Pascal Language Structure
Declarations

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: Declarations To the Table of Content Next: Label Declarations
Declarations Table of Content Label Declarations

- 2.2.7.1 -