[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
As a type declaration:
type type indentifier = type definition; |
type type indentifier = type definition value constant expression; |
The reserved word `type' starts the declaration of a type identifier which is defined by type definition. For further description see section 8.1.4 Type Declaration, section 8.1.4 Type Declaration, section 8.2.1 Type Definition, section 8.2 Data Types.
`type' is defined in ISO-7185 Pascal and supported by all known Pascal variants. Initializers are an ISO-10206 Extended Pascal extension.
program TypeDemo; type { This side is the } { That side is the } { type declaration } { type definition } |
section 8.1.4 Type Declaration, section 8.2.1 Type Definition, section 8.2 Data Types, section 8.1.5 Variable Declaration, section 9.14 array, section 9.222 record, section 9.175 object, section 9.244 set, section 9.196 Pointer, section 9.295 value.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |