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.

• The value may be constants as are allowed for list directed input, or they may be alist of constants separated by commas (,). A list of items is used to assign consecutivevalues to consecutive elements of an array.• Spaces or tabs may precede the item, the = and the constants.• Array items may be subscripted.• Character items may be substringed.5.8.2 Namelist OutputNamelist output is accomplished using a READ statement by specifying a namelist group as theoutput item. The following statement shows the format:WRITE ([unit=] u, [NML=] namelist-group [,control-information])The records output are logically viewed as follows:$group-nameitem = value$ [END]The following rules describe these output records:• One record is output per value.• Multiple values are separated by a comma (,).• Values are formatted according to the rules of the list-directed write. Exception:character items are <strong>del</strong>imited by an apostrophe (').• An apostrophe (') or a quote (") in the value is represented by two consecutiveapostrophes or quotes.172 Chapter 6

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

Saved successfully!

Ooh no, something went wrong!