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.

[NML=]name<br />

ADVANCE=character-expression<br />

Table 10-47<br />

<strong>HP</strong> <strong>Fortran</strong> statements<br />

READ<br />

An integer variable that has been assigned the label of a FORMAT<br />

statement.<br />

A character expression that provides the format specification.<br />

If the optional keyword FMT= is omitted, format must be the second item in<br />

io-specifier-list.<br />

NOTE The NML= and FMT= specifier may not both appear in the same<br />

io-specifier-list.<br />

specifies the name of a namelist group for namelist-directed input. name<br />

must have been defined in a NAMELIST statement. If the optional keyword<br />

NML= is omitted, name must be the second item in the list. The first item<br />

must be the unit specifier without the optional keyword UNIT=.<br />

The NML= and FMT= specifier may not both appear in the same<br />

io-specifier-list.<br />

specifies whether to use advancing I/O for this statement.<br />

character-expression canbeoneofthefollowingarguments:<br />

'YES' Use advancing formatted<br />

sequential I/O (default).<br />

'NO' Use nonadvancing formatted<br />

sequential I/O.<br />

END=stmt-label<br />

EOR=stmt-label<br />

If the ADVANCE= specifier appears in io-specifier-list, unit must be<br />

connected to an external file opened for formatted sequential I/O. Also,<br />

ADVANCE='NO' must be specified if the EOR= or SIZE= specifier appear in the<br />

list. Nonadvancing I/O is incompatible with list-directed and namelist I/O.<br />

specifies the label of the executable statement to which control passes if an<br />

end-of-file record is encountered. This specifier is only valid for reading files<br />

opened for sequential access.<br />

Chapter 10 407

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

Saved successfully!

Ooh no, something went wrong!