HP Fortran Programmer's Reference (September 2007)

I/O and file handling
Syntax of I/O statements
Chapter 8 219
Syntax of I/O statements
The general syntactic form of file-positioning and auxiliary statements is:
statement-name
(
io-specifier-list
)
where
statement-name
is one of the statements listed in Table 8-5 or Table 8-6.
io-specifier-list
is a comma-separated list of I/O specifiers that control the statement’s
operation.
The general form of a data-transfer statement is:
statement-name
(
io-specifier-list
)
data-list
where
statement-name
is one of the statements listed in Table 8-4.
io-specifier-list
is a comma-separated list of I/O specifiers that control the data transfer.
data-list
is a comma-separated list of data items.
The following sections describe the I/O specifiers and the form of
data-list
. For detailed
information about the syntax of individual I/O statements, see Chapter 10, “HP Fortran
statements,” on page 267.
I/O specifiers
I/O specifiers provide I/O statements with additional information about a file or a data
transfer operation. They can also be used (especially with the INQUIRE statement) to return
information about a file. Table 8-7 lists all I/O specifiers supported by HP Fortran and
identifies the statements in which each can appear. Note that the ACCEPT, DECODE, ENCODE,