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.

ExamplesINTEGER SCORE(30)CHARACTER GRADE(30)WHERE ( SCORE > 60 ) GRADE = 'P'WHERE ( SCORE > 60 )GRADE = 'P'ELSE WHEREGRADE = 'F'END WHEREWRITE 90The WRITE statement is a data transfer output statement.SyntaxWRITE ([unit=] u, [,control-information) [iolist]WRITE ([unit=] u, [NML=] namelist-group [,control-information])where the UNIT= is optional and the external unit specifier u is an integer. This may also be a *indicating list-directed output.In addition to the unit specification, control-information are optional control specifications, andmay be any of those listed in the following (there are some limits on the allowed specificationsdepending on the type of output, for example, non-advancing, direct and sequential):142 Chapter 3

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

Saved successfully!

Ooh no, something went wrong!