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.

DescriptionWhen an INQUIRE by file statement is executed the following specifiers will only be assignedvalues if the file name is acceptable: nmd, fn, seq, dir, fmt and unf. num is defined, and acc, fm, rcl,nr and blnk may become defined only if od is defined as .TRUE..When an INQUIRE by unit statement is executed the specifiers num, nmd, fn, acc, seq, dir, fm,fmt, unf, rcl, nr and blnk are assigned values provided that the unit exists and a file is connected tothat unit. Should an error condition occur during the execution of an INQUIRE statement all thespecifiers except ios become undefined.INTEGER 77The INTEGER statement establishes the data type of a variable by explicitly attaching the name ofa variable to an integer data type. This overrides the implication of data typing by the initial letterof a symbolic name.SyntaxThe syntax for INTEGER has two forms, a standard FORTRAN 77 or 90/95 attributed form, andthe <strong>PGI</strong> extended form. This section describes both syntax forms.INTEGER [([ KIND = kind-value ) ][, attribute-list ::] entity-listINTEGER permits a KIND specification. Refer to the Fortran 95 Handbook for more syntaxdetails.attribute-listentity-listSyntax Extensionis the list of attributes for the character variable.is the list of defined entities.INTEGER [*n] [,] name [*n] [dimensions] [/clist/]...nnameclistDescriptionis an optional size specification.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.Integer type declaration statements may be used to dimension arrays explicitly in the same way asthe DIMENSION statement. INTEGER statements must not be labeled. The default size of an§104 Chapter 3

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

Saved successfully!

Ooh no, something went wrong!