Visible to Intel only — GUID: GUID-56BDBC41-288A-4B7C-BFD9-144A84D5A83C
Visible to Intel only — GUID: GUID-56BDBC41-288A-4B7C-BFD9-144A84D5A83C
Statements Affecting Variables
The following table lists statements that are used to declare variables of intrinsic and derived types, to declare new types, and that can affect the value of variables. Statements that declare variables can specify attributes of the variables. Attributes are listed in the table following this one.
Name |
Description |
---|---|
Associates a name (alias) with a data designator or expression that can be used to identify that designator or expression in a block of code. |
|
Specifies variables as the BYTE data type; BYTE is equivalent to INTEGER(1). |
|
Specifies variables as the CHARACTER data type. |
|
Defines one or more contiguous areas, or blocks, of physical storage (called common blocks) that can be accessed by any of the scoping units in an executable program. |
|
Specifies variables as the COMPLEX data type. |
|
Assigns initial values to variables. |
|
Specifies variables as the DOUBLE COMPLEX data type, equivalent to COMPLEX(8). |
|
Specifies variables as the DOUBLE-PRECISION real data type, equivalent to REAL(8). |
|
Begins the definition of an interoperable enumeration and may give the type a name. |
|
Associates integer values with named constant enumerators. |
|
Specifies that two or more variables or arrays share the same memory location. |
|
Indicates a derived type is finalizable and specifies what its final subroutines are. |
|
Specifies the default types for variables and functions. |
|
Disables implicit typing in the scope, or requires all external procedures to have explicit interfaces if invoked from the scope. |
|
Specifies variables as the INTEGER data type. |
|
Specifies variables as the LOGICAL data type. |
|
Within a UNION statement, delimits a group of variable type declarations that are to be ordered contiguously within memory. |
|
Declares a group name for a set of variables to be read or written in a single statement. |
|
Disassociates a variable with the POINTER attribute (sets it to NULL). |
|
Specifies variables as the REAL data type. |
|
Declares one or more variables of a user-defined structure type. |
|
Prevents the compiler from optimizing the storage order of components in a derived type. |
|
Defines a new variable type, composed of a collection of other variable types. |
|
Defines a new variable type, composed of a collection of other variable types. |
|
Within a structure, causes two or more maps to occupy the same memory locations. |
|
1 This is an executable statement. |
The following table lists statements that give attributes to variables. Attributes also can be given to variables in their type declaration statement.
Name |
Description |
---|---|
Indicates an entity can be dynamically allocated and deallocated. |
|
Indicates a variable may be used in asynchronous input or output, or asynchronous communication. |
|
Declares a variable on the stack, rather than at a static memory location. |
|
Indicates a variable or common block can interoperate with a C variable whose name has external linkage. |
|
Specifies that an entity is a coarray and indicates its corank and cobounds, if any. |
|
Indicates an array object is contiguous. |
|
Specifies that an entity is an array and indicates its rank and bounds. |
|
Indicates an entity is an external procedure, a dummy procedure, a procedure pointer, or a block data subprogram. |
|
Indicates how a dummy argument is to be used: as an input argument (IN), an output argument (OUT), or as both input and output (INOUT). |
|
Indicates an entity is an intrinsic procedure. |
|
Indicates a dummy argument need not be associated with an actual argument in a procedure invocation. |
|
Equates a constant expression with a name. |
|
Indicates an entity can be associated with different data objects or procedures during the execution of a program. A pointer is either a data pointer or a procedure pointer, but not both. |
|
Limits the accessibility of a module entity by a particular name, or that of a component of a derived type declared in a module. |
|
Specifies limitations on the use of module entities. |
|
Makes a module entity accessible by USE association, or it makes a component of a derived type declared in a module accessible when the derived type is USE associated. |
|
Causes variables to retain their values between invocations of the procedure in which they are defined. |
|
Declares a variable is in a static memory location, rather than on the stack. |
|
Indicates a data object may become associated with a data pointer. |
|
Indicates a dummy argument is passed by value rather than by reference. |
|
Specifies that the value of an object is totally unpredictable based on information available to the current program unit. |