Terminates a derived type definition.
Syntax
- type-name
is the name of the derived type being defined. type-name
is optional. If given, it must be the same as the type-name
specified in the TYPE
statement introducing the derived type definition.
Description
The END TYPE
statement terminates the definition of a derived type.
Examples
The following is a simple example of a derived type with two
components, high
and low:
TYPE temp_range INTEGER high, low END TYPE temp_range |
Related statements
TYPE (definition)
Related concepts
Derived types are described in “Derived types”.