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.

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



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us