Lahey/Fujitsu Fortran

Assignment and Storage Statements


For an allocatable array the ALLOCATE statement defines the bounds of each dimension and allocates space for the array.

For a pointer the ALLOCATE statement creates an object that implicitly has the TARGET attribute and associates the pointer with that target.

ASSIGN (obsolescent)

Assigns a statement label to an INTEGER variable.


Assigns the value of the expression on the right side of the equal sign to the variable on the left side of the equal sign.


The DEALLOCATE statement deallocates allocatable arrays and pointer targets and disassociates pointers.


The NULLIFY statement disassociates pointers.

Pointer Assignment

The pointer assignment statement associates a pointer with a target.