Specification Statements (Non-Executable)




Statement

Definition

Examples

Allocatable Declares allocatable arrays (arrays without set dimensions) Example 1 , 2
CommonSpecifies common blocks and their contents. Common block stores data and variables which can be shared by two or more units (programs or subroutines) Example 1, 2
DimensionSpecifies the name and dimensions of an array Example 1, 2
END InterfaceTerminates the interface block Example 1, 2
Equivalence Specifies that two or more objects in a unit share the same storage Example 1
ExternalSpecifies that a name represents an external procedure, a dummy procedure, or a block data program unit. Example 1, 2
IntentSpecifies the intended use of dummy arguments Example 1, 2
InterfaceThe first statement of an interface block, which can specify characteristics of arguments for an external or dummy procedure Example 1, 2
IntrinsicIdentifies a name as an intrinsic procedure and allows you to use specific names of intrinsic procedures as actual arguments Example 1, 2
NamelistSpecifies one or more lists of variable names for use in READ, WRITE, and PRINT statements
Pointer Designates objects as pointer variables Example 1, 2
PrivateSpecifies that a variable or procedure defined in a module is not accessible outside that module
PublicSpecifies that a variable or procedure contained in a module is avaliable to any other program unit using that module.
Save Specifies local variables or named commons whose contents will remain intact after exit from current subprogram. Example 1, 2
SequenceSpecifies that the order of the components in a derived-type definition establishes the storage sequence for objects of that type.
Target Attribute of a variable that can be a target of a pointer Example 1, 2

Go Back to the Program Unit Structure Table

Go to the Cmp Sc 201F Homepage

Go to the Main Fortran 90 Page


Maintained by John Mahaffy : jhm@cac.psu.edu