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 10-14<br />

DIRECT=character-variable<br />

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

INQUIRE<br />

returns the following values, indicating the character to use (if any) to<br />

delimit character values in list-directed and namelist formatting:<br />

'APOSTROPHE' An apostrophe is used as the<br />

delimiter.<br />

'QUOTE' Thedoublequotationmarkis<br />

used as the delimiter.<br />

'NONE' There is no delimiting<br />

character.<br />

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

formatted I/O.<br />

Table 10-15<br />

ERR=stmt-label<br />

EXIST=logical-variable<br />

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

for direct access:<br />

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

access.<br />

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

access.<br />

'UNKNOWN' It cannot be determined<br />

whetherornotfileisconnected<br />

for direct access.<br />

Table 10-16<br />

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

error occurs during statement execution.<br />

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

exists:<br />

'TRUE' File exists or unit is connected.<br />

Chapter 10 343

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

Saved successfully!

Ooh no, something went wrong!