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.

PRINT 77The PRINT statement is a data transfer output statement.SyntaxorPRINT format-specifier [, iolist]PRINT namelist-groupformatspecifieriolistnamelist-groupa label of a format statement or a variable containing a format string.is an input/output list that must either be one of the items in an input listor any other expression. A character expression involvingconcatenation of an operand of variable length cannot be included in anoutput list, however, unless the operand is the symbolic name of aconstant.the name of the namelist group.DescriptionWhen a PRINT statement is executed the following operations are carried out: data is transferredto the standard output device from the items specified in the output list and format specification. *The data are transferred between the specified destinations in the order specified by theinput/output list. Every item whose value is to be transferred must be defined.Non-character Format-specifier §If a format-specifier is a variable which is neither CHARACTER nor a simple INTEGER variable,the compiler accepts it and treats it as if the contents were character. For example, below sum istreated as a format descriptor:real sumsum = 4h()print sum* If an asterisk (*) is used instead of a format identifier, the list-directed formatting rules apply.Fortran Statements 121

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

Saved successfully!

Ooh no, something went wrong!