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.

See AlsoSELECT CASECHARACTER 90The CHARACTER statement establishes the data type of a variable by explicitly attaching thename of a variable to a character data type. This overrides the implication of data typing by theinitial letter of a symbolic name.SyntaxThe syntax for CHARACTER has two forms, the standard Fortran form and the <strong>PGI</strong> extendedform. This section describes both syntax forms.CHARACTER [character-selector] [, attribute-list ::] entity-listcharacter-selector the character selector specifies the length of the character string.This has one of several forms:([LEN=] type-param-value)* character-length [,]Character-selector also permits a KIND specification. Refer to the Fortran 95 Handbook for moresyntax details.attribute-listentity-listSyntax Extensionis the list of attributes for the character variable.is the list of defined entities.CHARACTER [*len][,] name [dimension] [*len] [/clist/], ...lennameclistDescriptionis a constant or *. A * is only valid if the corresponding name is adummy argument.is 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.Character type declaration statements may be used to dimension arrays explicitly in the same wayas the DIMENSION statement. Type declaration statements must not be labeled.§Fortran Statements 63

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

Saved successfully!

Ooh no, something went wrong!