HP Fortran Programmer's Reference (September 2007)

HP Fortran statements
READ
Chapter 10 441
An integer variable that has been assigned the label of a FORMAT
statement.
A character expression that provides the format specification.
If the optional keyword FMT= is omitted,
format
must be the second item in
io-specifier-list
.
NOTE The NML= and FMT= specifier may not both appear in the same
io-specifier-list
.
[NML=]
name
specifies the name of a namelist group for namelist-directed input.
name
must have been defined in a NAMELIST statement. If the optional keyword
NML= is omitted,
name
must be the second item in the list. The first item
must be the unit specifier without the optional keyword UNIT=.
The NML= and FMT= specifier may not both appear in the same
io-specifier-list
.
ADVANCE=
character-expression
specifies whether to use advancing I/O for this statement.
character-expression
can be one of the following arguments:
If the ADVANCE= specifier appears in
io-specifier-list
,
unit
must be
connected to an external file opened for formatted sequential I/O. Also,
ADVANCE='NO' must be specified if the EOR= or SIZE= specifier appear in the
list. Nonadvancing I/O is incompatible with list-directed and namelist I/O.
END=
stmt-label
specifies the label of the executable statement to which control passes if an
end-of-file record is encountered. This specifier is only valid for reading files
opened for sequential access.
EOR=
stmt-label
Table 10-47
'YES' Use advancing formatted
sequential I/O (default).
'NO' Use nonadvancing formatted
sequential I/O.