Go to the first, previous, next, last section, table of contents.
TYPE <identifier> "=" <type> ";"
It is convenient to be able to give names to types, and the TYPE
declaration allows you to do this. <type> may be one of the following:
-
Ordinal: INTEGER, CARDINAL, BOOLEAN, CHAR, subrange, enumerated
-
Floating point: REAL, LONGREAL, EXTENDED
-
Array: a structure containing a fixed number of elements of the same type
-
Record: a structure containing a fixed number of elements
-
Object: a record paired with a method suite
-
Set: a collection of ordinal values
-
Reference: a pointer to something
-
Procedure: a procedure signature
Go to the first, previous, next, last section, table of contents.