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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ExampleNULLIFY (PTR1)See AlsoALLOCATE, DEALLOCATEOPEN 77The OPEN statement connects an existing file to a unit, creates and connects a file to a unit,creates a file that is preconnected or changes certain specifiers of a connection between a file and aunit.SyntaxOPEN ( list )list must contain exactly one unit specifier of the form:[UNIT=] uwhere the UNIT= is optional and the external unit specifier u is an integer.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 is a character expression specifying the access method for fileconnection as either DIRECT or SEQUENTIAL; the default isSEQUENTIAL.acc is a character expression specifying the permitted access types forconnection. One of READ, WRITE, UNKNOWN or READWRITE isallowed. The default is UNKNOWN .blnk is a character expression which takes the value 'NULL' or 'ZERO'.'NULL' causes all blank characters in numeric formatted input fields tobe ignored with the exception of an all-blank field which has a value ofzero. 'ZERO' causes all blanks other than leading blanks to be treated aszeros. The default is 'NULL.' This specifier must only be used when afile is connected for formatted input/output.DELIM= <strong>del</strong>_char<strong>del</strong>_char is a character expression which takes the value'APOSTROPHE', 'QUOTE' or 'NONE'. These values specify theFortran Statements 113

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

Saved successfully!

Ooh no, something went wrong!