02.07.2013 Views

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table 8-7 I/O statements and specifiers (Continued)<br />

I/O Specifiers<br />

I/O data list<br />

I/O and file handling<br />

Syntax of I/O statements<br />

The I/O data list can be used with any data transfer statement except namelist I/O; see<br />

“Namelist-directed I/O” on page 181 for a description of this. The general form of the I/O data<br />

list is:<br />

item1[, item2...]<br />

BACKSPACE<br />

CLOSE<br />

ENDFILE<br />

NML= <br />

NUMBER= <br />

OPENED= <br />

PAD= <br />

POSITION= <br />

READ= <br />

READWRITE= <br />

REC= <br />

RECL= <br />

SEQUENTIAL= <br />

SIZE= <br />

STATUS= <br />

UNFORMATTED= <br />

UNIT= <br />

WRITE= <br />

where item is a either a simple data element or an implied-DO loop.<br />

INQUIRE<br />

The following sections describe simple data elements and the implied-DO loop.<br />

OPEN<br />

Chapter 8 189<br />

PRINT<br />

READ<br />

REWIND<br />

WRITE

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

Saved successfully!

Ooh no, something went wrong!