FORTRAN Reference Manual
Compiler Limits
FORTRAN Reference Manual—528615-001
E-2
INTEGER*2 1 word
INTEGER*4 2 words
INTEGER*8 4 words
LOGICAL 1 word, or 2 words if LOGICAL*4 
mode
REAL 2 words
DOUBLE PRECISION 4 words
COMPLEX 4 words
CHARACTER 1 word, or 2 words if EXTENDEDREF
 mode, regardless of the number of
 characters
•
Data types
Character variables, array elements, functions, constants, and expression values 
can be up to 255 characters in length.
The total size of a RECORD, or of each element of a RECORD array, can be up to 
32,767 bytes.
RECORD declarations can be nested up to 15 deep, including the outermost 
RECORD and the fields within the innermost RECORD.
A character expression that consists of a series of concatenated values can have 
up to 64 such values.
•
Arrays
A non-RECORD array can have up to seven dimensions. A RECORD, or an array 
within a RECORD, can have at most one dimension.
The subscript bounds for each dimension of an array in the user data segment 
must be in the range -32,768 through 32,767, and the total size of the array can be 
up to 65,536 bytes. An array in the extended data segment can have subscript 
bounds in the range -2,147,483,648 through 2,147,483,647, and a total size of up 
to 133,693,140 bytes.
•
Common blocks
A common block can contain either exactly one RECORD and no other variables, 
or any number of non-RECORD variables and arrays.
The total number of common blocks an executable program can have is unlimited, 
but no one program unit can declare more than 64 common blocks.
•
Units and files










