null(3f) - [FORTRAN:INTRINSIC:TRANSFORMATIONAL FUNCTION] Function that returns an disassociated pointer
Syntax
Description
Arguments
Return Value
Example
Standard
Class
See Also
ptr => null([mold])
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.
MOLD - (Optional) shall be a pointer of any association status and of any type.
A disassociated pointer.
Sample program:
real, pointer, dimension(:) :: vec => null ()
[[Fortran 95]] and later
Transformational function
[[associated]]
null (3) | March 18, 2019 |