HP Fortran Programmer's Reference (September 2007)

HP Fortran statements
UNION (extension)
Chapter 10 487
UNION (extension)
Defines a union within a structure.
Syntax
UNION
map-block
map-block
...
END UNION
map-block
is one or more of the following:
A type declaration statement
Another nested structure
A nested record
A union definition
Description
The UNION statement is an HP Fortran extension that is used with the MAP statement to
define a union within a structure. For detailed information about the MAP and UNION
statements, see “STRUCTURE (extension)” on page 465.