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 runtime when you explicitly call a routine that dynamically allocates storage for the entity. Dummy arguments that have the ALLOCATABLE attribute should not also have the VALUE attribute.

!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