Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Fortran Compiler for HP-UX: HP Fortran Programmer's Reference > Chapter 10 HP Fortran statements

END TYPE

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

Terminates a derived type definition.

Syntax

END TYPE [type-name]
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”.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.