Memory Allocation and Deallocation Procedures: table

Name Procedure Type Description Argument/Function Type
ALLOCATE Statement Dynamically establishes allocatable array dimensions.  
ALLOCATED Intrinsic Function ALLOCATED(array). Determines whether an allocatable array is allocated. array: allocatable array

result: Logical scalar

DEALLOCATE Statement Frees the storage space previously reserved in an ALLOCATE statement.  
FREE Intrinsic Subroutine FREE(addr). Frees the memory block specified by the integer pointer addr. addr: INTEGER(4)
MALLOC Intrinsic Function MALLOC(size). Allocates a memory block of size size bytes and returns an integer pointer to the block. size: INTEGER(4)

result: INTEGER(4)