HP Fortran Programmer's Reference (September 2007)

HP Fortran statements
COMMON
Chapter 10304
! common declaration for program unit 1
INTEGER i, j, k
COMMON /my_block/ i, j, k
! common declaration for program unit 2
INTEGER n(3)
COMMON /my_block/ n(3)
The variables i, j, and k in program unit 1 share the same storage with the array n in
program unit 2: i in program unit 1 matches up with n(1) in program unit 2, j with n(2),
and k with n(3).
Related statements
EQUIVALENCE
Related concepts
For information about data alignment, see Table 5-1 and “Alignment of derived-type objects”
on page 127.