Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Statements Affecting Variables

The following table lists statements that affect variables.

Name

Description

AUTOMATIC

Declares a variable on the stack, rather than at a static memory location.

BYTE

Specifies variables as the BYTE data type; BYTE is equivalent to INTEGER(1).

CHARACTER

Specifies variables as the CHARACTER data type.

CODIMENSION

Specifies that an entity is a coarray and specifies its corank and cobounds, if any.

COMPLEX

Specifies variables as the COMPLEX data type.

DATA

Assigns initial values to variables.

DIMENSION

Specifies that an entity is an array and specifies its rank and bounds.

DOUBLE COMPLEX

Specifies variables as the DOUBLE COMPLEX data type, equivalent to COMPLEX(8).

DOUBLE PRECISION

Specifies variables as the DOUBLE-PRECISION real data type, equivalent to REAL(8).

EQUIVALENCE

Specifies that two or more variables or arrays share the same memory location.

IMPLICIT

Specifies the default types for variables and functions.

INTEGER

Specifies variables as the INTEGER data type.

LOGICAL

Specifies variables as the LOGICAL data type.

MAP

Within a UNION statement, delimits a group of variable type declarations that are to be ordered contiguously within memory.

NAMELIST

Declares a group name for a set of variables to be read or written in a single statement.

PARAMETER

Equates a constant expression with a name.

PROTECTED

Specifies limitations on the use of module entities.

REAL

Specifies variables as the REAL data type.

RECORD

Declares one or more variables of a user-defined structure type.

SAVE

Causes variables to retain their values between invocations of the procedure in which they are defined.

STATIC

Declares a variable is in a static memory location, rather than on the stack.

STRUCTURE

Defines a new variable type, composed of a collection of other variable types.

TYPE

Defines a new variable type, composed of a collection of other variable types.

UNION

Within a structure, causes two or more maps to occupy the same memory locations.

VOLATILE

Specifies that the value of an object is totally unpredictable based on information available to the current program unit.