12.07.2015 Views

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

INQUIRE 77An INQUIRE statement has two forms and is used to inquire about the current properties of aparticular file or the current connections of a particular unit. INQUIRE may be executed before,during or after a file is connected to a unit.SyntaxINQUIRE (FILE=filename, list)INQUIRE ([UNIT=]unit,list)In addition list may contain one of each of the following specifiers in any order, following the unitnumber if the optional UNIT specifier keyword is not supplied.ACCESS= accACTION= accBLANK= blnkacc returns a character expression specifying the access method for thefile as either DIRECT or SEQUENTIAL. The default isSEQUENTIAL.acc is a character expression specifying the access types for theconnection. Either READ, WRITE, or READWRITE.blnk is a character expression which returns the value NULL or ZEROor UNDEFINED. NULL causes all blank characters in numericformatted input fields to be ignored with the exception of an all-blankfield which has a value of zero. ZERO causes all blanks other thanleading blanks to be treated as zeros. This specifier must only be usedwhen a file is connected for formatted input/output.DELIM= <strong>del</strong>_char<strong>del</strong>_char is a character expression which returns the valueAPOSTROPHE, QUOTE, NONE or UNDEFINED. These valuesspecify the character <strong>del</strong>imiter for list-directed or namelist formatteddata transfer statements.DIRECT= dir_chardir_char is a character reference which returns the value YES ifDIRECT is one of the allowed access methods for the file, NO if notand UNKNOWN if it is not known if DIRECT is included.ERR= errserrs is an error specifier which returns the value of a statement label ofan executable statement within the same program. If an error conditionoccurs execution continues with the statement specified by errs.EXIST= value value is a logical variable or logical array element which becomes.TRUE. if there is a file/unit with the name or .FALSE. otherwise.Fortran Statements 101

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

Saved successfully!

Ooh no, something went wrong!