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.

Table 5-1: OPEN SpecifiersSpecifierACCESS=accACTION=actBLANK=blnkDELIM=<strong>del</strong>ERR=errsFILE=finFORM=fmIOSTAT=iosDescriptionWhere acc is a character string specifying the access method for file connectionas DIRECT (random access) or SEQUENTIAL. The default isSEQUENTIAL.Where act is a character string specifying the allowed actions for the fileand is one of READ, WRITE, or READWRITE.Where blnk is a character string which takes the value NULL or ZERO:NULL causes all blank characters in numeric formatted input fields to beignored with the exception of an all-blank field which has a value of zero.ZERO causes all blanks other than leading blanks to be treated as zeros.The default is NULL. This specifier must only be used when a file isconnected for formatted input/output.Specify the <strong>del</strong>imiter for character constants written by a list-directed ornamelist-formatted statement. The options are APOSTROPHE, QUOTE,and NONE.An error specifier which takes the form of a statement label of anexecutable statement in the same program. If an error condition occurs,execution continues with the statement specified by errs. 2Where fin is a character string defining the file name to be connected tothe specified unit.Where fm is a character string specifying whether the file is beingconnected for FORMATTED or UNFORMATTED output respectively. Thedefault is FORMATTED.Input/output status specifier where ios is an integer scalar memoryreference. If this is included in list, ios becomes defined with 0 if no errorexists or a positive integer when there is an error condition. 2PAD=padding Specifies whether or not to use blank padding for input items. Thepadding values are YES and NO. The value NO requires that the inputrecord and the input list format specification match.2 If IOSTAT and ERR are not present, the program terminates if an error occurs.154 Chapter 6

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

Saved successfully!

Ooh no, something went wrong!