02.07.2013 Views

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Syntax of I/O statements<br />

The general syntactic form of file-positioning and auxiliary statements is:<br />

statement-name (io-specifier-list)<br />

where<br />

statement-name is one of the statements listed in Table 8-5 or Table 8-6.<br />

I/O and file handling<br />

Syntax of I/O statements<br />

io-specifier-list is a comma-separated list of I/O specifiers that control the statement’s<br />

operation.<br />

The general form of a data-transfer statement is:<br />

statement-name (io-specifier-list) data-list<br />

where<br />

statement-name is one of the statements listed in Table 8-4.<br />

io-specifier-list is a comma-separated list of I/O specifiers that control the data transfer.<br />

data-list is a comma-separated list of data items.<br />

The following sections describe the I/O specifiers and the form of data-list. For detailed<br />

information about the syntax of individual I/O statements, see Chapter 10, “<strong>HP</strong> <strong>Fortran</strong><br />

statements,” on page 233.<br />

I/O specifiers<br />

I/O specifiers provide I/O statements with additional information about a file or a data<br />

transfer operation. They can also be used (especially with the INQUIRE statement) to return<br />

information about a file. Table 8-7 lists all I/O specifiers supported by <strong>HP</strong> <strong>Fortran</strong> and<br />

identifies the statements in which each can appear. Note that the ACCEPT, DECODE, ENCODE,<br />

Chapter 8 187

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!