NULL — Function that returns an disassociated pointer#

NULL(MOLD)#

Returns a disassociated pointer.

Parameters:

MOLD – (Optional) shall be a pointer of any association status and of any type.

Returns:

A disassociated pointer.

Standard:

Fortran 95 and later

Class:

Transformational function

Syntax:
PTR => NULL([MOLD])
Example:
REAL, POINTER, DIMENSION(:) :: VEC => NULL ()
See also:

ASSOCIATED — Status of a pointer or pointer/target pair