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.

• Case is not significant, unless the –Mupcase is present on the command line. If it is, eachoption must be in lowercase.PARAMETER 77The PARAMETER statement gives a symbolic name to a constant.SyntaxPARAMETER (name = expression[,name = expression...] )expressionis an arithmetic expression formed from constant or PARAMETERelements using the arithmetic operators +, -, *, />. The usualprecedence order can be changed by using parentheses. expression mayinclude a previously defined PARAMETER.ExamplesPARAMETER ( PI = 3.142 )PARAMETER ( INDEX = 1024 )PARAMETER ( INDEX3 = INDEX * 3 )The following VAX/VMS extensions to the PARAMETER statement are fully supported:• Its list is not bounded with parentheses.• The form of the constant (rather than the implicit or explicit typing of the symbolic name)determines the data type of the variable.The form of the alternative PARAMETER statement is:PARAMETER p=c [,p=c]...where p is a symbolic name and c is a constant, symbolic constant, or a compile time constantexpression.PAUSE(Obsolescent) The PAUSE statement stops the program's execution. The PAUSE statement isobsolescent because a WRITE statement may send a message to any device, and a READstatement may be used to wait for a message from the same device.SyntaxPAUSE [character-expression | digits ]118 Chapter 3

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

Saved successfully!

Ooh no, something went wrong!