ALLOCATED (ARRAY) or ALLOCATED (SCALAR) Inquiry Function
Allocation status of the argument.
ARRAY An allocatable array of any type.
SCALAR An allocatable scalar of any type.
Result Characteristics. Scalar of type default logical.
Result Value. The result is true if the argument is allocated and false if unallocated.