10.07.2015 Views

PGI Fortran Reference manual - The Portland Group

PGI Fortran Reference manual - The Portland Group

PGI Fortran Reference manual - The Portland Group

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.

<strong>Fortran</strong> StatementsStatement Origin DescriptionINCLUDE F77 ext Directs the compiler to start reading from another file.INQUIRE F77 Inquires about the current properties of a particular file or the current connections of aparticular unit.INTEGER F77 Establishes the data type of a variable by explicitly attaching the name of a variable to aninteger data type, overriding implied data types.INTENT F90 Specifies intended use of a dummy argument, but may not be used in a main program'sspecification statement.INTERFACE F90 Makes an implicit procedure an explicit procedure where the dummy parameters andprocedure type are known to the calling module; Also overloads a procedure name.INTRINSIC F77 Identifies a symbolic name as an intrinsic function and allows it to be used as an actualargument.LOGICAL F77 Establishes the data type of a variable by explicitly attaching the name of a variable to alogical data type, overriding implied data types.MAP F77 ext Designates each unique field or group of fields within a UNION statement.MODULE F90 Specifies the entry point for a <strong>Fortran</strong> 90/95 module program unit. A module defines ahost environment of scope of the module, and may contain subprograms that are in thesame scoping unit.NAMELIST F90 Allows the definition of namelist groups for namelist-directed I/O.NULLIFY F90 Disassociates a pointer from its target.OPEN F77 Connects an existing file to a unit, creates and connects a file to a unit, creates a file thatis preconnected, or changes certain specifiers of a connection between a file and a unit.OPTIONAL F90 Specifies dummy arguments that may be omitted or that are optional.OPTIONS F77 ext Confirms or overrides certain compiler command-line options.PARAMETER F77 Gives a symbolic name to a constant.PAUSE F77 [Obsolescent]. Stops the program's execution.POINTER F90 Provides a means for declaring pointers.POINTER (Cray) F77 ext Declares a scalar variable to be a pointer variable (of type INTEGER), and anothervariable to be its pointer-based variable.PRINT F77 Transfers data to the standard output device from the items specified in the output listand format specification.PRIVATE F90 Specifies entities defined in a module are not accessible outside of the module.Private can also appear inside a derived type to disallow access to its datacomponents outside the defining module.F2003In F2003, a Private statement may appear after the type’s containsstatement to disallow access to type bound procedures outside the defining module.PROCEDURE F2003 Specifies a type bound procedure, procedure pointer, module procedure, dummyprocedure, intrinsic procedure, or an external procedure.PROGRAM F77 Specifies the entry point for the linked <strong>Fortran</strong> program.PROTECTED F2003 Protects a module variable against modification from outside the module in which it wasdeclared.PUBLIC F90 Specifies entities defined in a module are accessible outside of the module.<strong>PGI</strong> <strong>Fortran</strong> <strong>Reference</strong> Guide 41

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

Saved successfully!

Ooh no, something went wrong!