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.

5.7.3 Commas in External FieldUse of the comma in an external field eliminates the need to "count spaces" to have data matchformat edit descriptors. The use of a comma to terminate an input field and thus avoid padding thefield is fully supported.5.8 Namelist GroupsThe NAMELIST statement allows for the definition of namelist groups. A namelist group allowsfor a special type of formatted input/output, where data is transferred between a named group ofdata items defined in a NAMELIST statement and one or more records in a file.The general form of a namelist statement is:where:NAMELIST /group-name/ namelist [[,] /group-name/ namelist ]...group-namenamelistis the name of the namelist group.is the list of variables in the namelist group.5.8.1 Namelist InputNamelist input is accomplished using a READ statement by specifying a namelist group as theinput item. The following statement shows the format:READ ([unit=] u, [NML=] namelist-group [,control-information])One or more records are processed which define the input for items in the namelist group.The records are logically viewed as follows:$group-name item=value [,item=value].... $ [END]The following rules describe these input records:• The start or end <strong>del</strong>imiter ($) may be an ampersand (&).• The start <strong>del</strong>imiter must begin in column 2 of a record.• The group-name begins immediately after the start <strong>del</strong>imiter.• The spaces or tabs may not appear within the group-name, within any item, or withinany constants.Fortran Intrinsics 171

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

Saved successfully!

Ooh no, something went wrong!