HP Fortran Programmer's Reference (September 2007)

HP Fortran statements
PUBLIC (statement and attribute)
Chapter 10 437
PUBLIC (statement and attribute)
Enables access to module entities by use association.
Syntax
The syntax of a type declaration statement with the PUBLIC attribute is:
type
,
attrib-list
::
access-id-list
type
is a valid type specification (INTEGER, REAL, LOGICAL, CHARACTER, TYPE (
name
), etc.).
attrib-list
is a comma-separated list of attributes including PUBLIC and optionally
those attributes compatible with it, namely:
access-id-list
is a comma-separated list of one or more of the following:
constant-name
variable-name
procedure-name
defined-type-name
namelist-group-name
OPERATOR (
operator
)
ASSIGNMENT(=)
The syntax of the PUBLIC statement is:
PUBLIC [[::]
access-id-list
]
Table 10-46
ALLOCATABLE INTRINSIC SAVE
DIMENSION PARAMETER TARGET
EXTERNAL POINTER VOLATILE