IntelĀ® Fortran Compiler 18.0 Developer Guide and Reference

ATTRIBUTES ALLOCATABLE

The ATTRIBUTES directive option ALLOCATABLE is provided for compatibility with older programs. It lets you delay allocation of storage for a particular declared entity until some point at run time when you explicitly call a routine that dynamically allocates storage for the entity.

!DIR$ ATTRIBUTES ALLOCATABLE :: entity

entity

Is the name of the entity that should have allocation delayed.

The recommended method for dynamically allocating storage is to use the ALLOCATABLE statement or attribute.

See Also