Returns a disassociated pointer.
If MOLD is present, a disassociated pointer of the same type is returned, otherwise the type is determined by context.
In Fortran 95, MOLD is optional. Please note that Fortran 2003 includes cases where it is required.
Fortran 95 and later
Transformational function
PTR => NULL([MOLD])
MOLD | (Optional) shall be a pointer of any association status and of any type. |
A disassociated pointer.
REAL, POINTER, DIMENSION(:) :: VEC => NULL ()
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gfortran/NULL.html