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 ()