END TYPE

Purpose

The END TYPE statement indicates the completion of a derived-type definition.

Syntax

Read syntax diagramSkip visual syntax diagram>>-END TYPE--+-----------+-------------------------------------><
             '-type_name-'
 

Rules

If type_name is specified, it must match the type_name in the corresponding Derived Type statement.

If a label is specified on the END TYPE statement, the label belongs to the scoping unit of the derived-type definition.

Examples

TYPE A
  INTEGER :: B
  REAL :: C
END TYPE A

Related information