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.

READWRITE=character-variable<br />

Table 10-24<br />

RECL=integer-variable<br />

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

INQUIRE<br />

returns the following values, indicating whether or not reading and writing<br />

are allowed actions for the file:<br />

'YES' Both reading and writing are<br />

allowed for file.<br />

'NO' Reading and writing are not<br />

both allowed for file.<br />

'UNKNOWN' It cannot be determined<br />

whetherornotreadingand<br />

writing are both allowed for file.<br />

returns the record length of the specified unit or file, measured in bytes. The<br />

file must be a direct-access file. If the file is not a direct-access file or does<br />

not exist, integer-variable is undefined.<br />

SEQUENTIAL=character-variable<br />

Table 10-25<br />

returns the following values, indicating whether or not the file is connected<br />

for direct access:<br />

'YES' File is connected for sequential<br />

access.<br />

'NO' File is not connected for<br />

sequential access.<br />

'UNKNOWN' It cannot be determined<br />

whetherornotfileisconnected<br />

for sequential access.<br />

UNFORMATTED=character-variable<br />

Chapter 10 347

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

Saved successfully!

Ooh no, something went wrong!