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.

On input from a file connected for sequential access, the rest of the current record is skipped andthe file positioned at the start of the next record.On output a new record is created which becomes the last and current record. For an internal fileconnected for direct access, the record is filled with blank characters. For a direct access file, therecord number is increased by one and the file is positioned at the start of the record.Multiple slashes are permitted, thus multiple records are skipped.5.5.2.21 The : Format Specifier – Format TerminationThe (:) control terminates format control if there are no more items in the input/output list. It hasno effect if there are any items left in the list.5.5.2.22 $ Format ControlThe $ field descriptor allows the programmer to control carriage control conventions on output. Itis ignored on input. For example, on terminal output, it can be used for prompting.The form of the $ field descriptor is:$5.5.3 Variable Format Expressions ,Variable format expressions are supported. They provide a means for substituting run-timeexpressions for the field width, other parameters for the field and edit descriptors in a FORMATstatement (except for the H field descriptor and repeat counts).Variable format expressions are enclosed in "" and are evaluated each time they areencountered in the scan of a format. If the value of a variable used in the expression changesduring the execution of the I/O statement, the new value is used the next time the format itemcontaining the expression is processed.5.6 Non-advancing Input and OutputNon-advancing input/output is character-oriented and applies to sequential access formattedexternal files. The file position is after the last character read or written and not automaticallyadvanced to the next record.For non-advancing input/output, use the ADVANCE='NO' specifier. Two other specifiers apply tonon-advancing IO: EOR applies when end of record is detected and SIZE returns the number ofcharacters read.Fortran Intrinsics 167

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

Saved successfully!

Ooh no, something went wrong!