[UP]


Manual Reference Pages  - null (3)

NAME

null(3f) - [FORTRAN:INTRINSIC:TRANSFORMATIONAL FUNCTION] Function that returns a disassociated pointer

SYNTAX

ptr => null([mold])

DESCRIPTION

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.

ARGUMENTS

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

RETURN VALUE

A disassociated pointer.

EXAMPLE

Sample program:

    real, pointer, dimension(:) :: vec => null ()

STANDARD

[[Fortran 95]] and later

CLASS

Transformational function

SEE ALSO

associated(3)


null (3) March 11, 2021
Generated by manServer 1.08 from 68fa2afa-cac5-4c08-8412-0445f5a22f48 using man macros.