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.

nameclistis the symbolic name of a variable, array, or an array declarator (see theDIMENSION statement for an explanation of array declarators).is a list of constants that initialize the data, as in a DATA statement.DescriptionByte statements may be used to dimension arrays explicitly in the same way as the DIMENSIONstatement. BYTE declaration statements must not be labeled.ExampleBYTE TB3, SEC, STORE (5,5)CALL 77The CALL statement transfers control to a subroutine.SyntaxCALL subroutine [([ actual-arg-list]...])]subroutineargumentactual-arg-listis the name of the subroutine.is the actual argument being passed to the subroutine. The firstargument corresponds to the first dummy argument in theSUBROUTINE statement and so on.has the form:[ keyword = ] subroutine-argument.keywordsubroutine-argumentis a dummy argument name in the subroutine interface.is an actual argument.DescriptionActual arguments can be expressions including: constants, scalar variables, function referencesand arrays.Actual arguments can also be alternate return specifiers. Alternate return specifiers are labelsprefixed by asterisks (*) or ampersands (&). The ampersand is an extension to FORTRAN 77.Recursive calls are allowed using the –Mrecursive command-line option.Fortran Statements 61

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

Saved successfully!

Ooh no, something went wrong!