Intel® Fortran Compiler

Developer Guide and Reference

ID 767251
Date 3/31/2025
Public
Document Table of Contents

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

ASSOCIATE1

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.

BYTE

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

CHARACTER

Specifies variables as the CHARACTER data type.

COMMON

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.

COMPLEX

Specifies variables as the COMPLEX data type.

The following table lists statements that give attributes to variables. Attributes also can be given to variables in their type declaration statement.

Name

Description

ALLOCATABLE

Indicates an entity can be dynamically allocated and deallocated.

ASYNCHRONOUS

Indicates a variable may be used in asynchronous input or output, or asynchronous communication.

AUTOMATIC

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

BIND

Indicates a variable or common block can interoperate with a C variable whose name has external linkage.

CODIMENSION

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