Top: f77 Up: 13 - Statements
Previous: 13,43 - MAP Next: 13,45 - OPEN
Section 13,44: NAMELIST
Defines a list of variables or array names and associates that list
with a unique group-name, which is used in the namelist I/O
statement.
NAMELIST /group-name/nlist[[,]/group-name/nlist]...
group-name Is a symbolic name.
nlist Is the list of (no more than 250) variable
or array names, separated by commas, to be
associated with the preceding group-name.
You cannot include array elements, character substrings, pointers,
records, and record fields in a namelist, but you can use namelist
I/O to assign values to elements of arrays or substrings of
character variables that appear in namelists. Dummy arguments can
appear in a namelist.
The namelist entities can have any data type and can be explicitly
or implicitly typed.
Only the entities specified in the namelist can be read or written
in namelist I/O. It is not necessary for the input records in a
namelist input statement to define every entity in the associated
namelist.
The order of entities in the namelist controls the order in which
the values are written in the namelist output. Input of namelist
values can be in any order.
A variable or an array name can appear in several namelists.
Top: f77 Up: 13 - Statements
Previous: 13,43 - MAP Next: 13,45 - OPEN