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.

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

INQUIRE<br />

Table 10-16 (Continued)<br />

'FALSE' File does not exist or unit is not<br />

connected.<br />

FILE=character-expression<br />

FORM=character-variable<br />

Table 10-17<br />

FORMATTED=character-variable<br />

IOSTAT=integer-variable<br />

344<br />

specifies the name of a file for inquiry. The file does not have to be connected<br />

or even exist. If the FILE= specifier appears in io-specifier-list, the<br />

UNIT= specifier must not be used.<br />

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

formatted or unformatted I/O:<br />

'FORMATTED' File is connected for<br />

formatted I/O.<br />

'UNFORMATTED' File is connected for<br />

unformatted I/O.<br />

'UNDEFINED' File is not connected.<br />

Table 10-18<br />

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

for formatted I/O:<br />

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

I/O.<br />

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

formatted I/O.<br />

'UNKNOWN' It cannot be determined<br />

whetherornotfileisconnected<br />

for formatted I/O.<br />

Chapter 10

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

Saved successfully!

Ooh no, something went wrong!