ALLOCATED intrinsic function

Standard: F77 F90 F95 F2003 F2008 Example program


<Syntax>

ALLOCATED ( ARRAY )
ALLOCATED ( SCALAR )

ARRAY : allocatable array of any type;
SCALAR : allocatable scalar of any type;

Result: Logical scalar, default kind.

<Semantics>

The result is .TRUE. if the argument is currently allocated, and .FALSE. if the argument is currently unallocated.

<Related>

ALLOCATABLE attribute, ALLOCATE statement, ASSOCIATED intrinsic function, DEALLOCATE statement, MOVE_ALLOC intrinsic subroutine, NULL intrinsic function