Description: | Initializes a pointer as disassociated when it is declared. This is a new intrinsic procedure in Fortran 95. | ||
Class: | Transformational function; Generic | ||
Arguments: | MOLD is optional and must be a pointer; it can be of any type. Its pointer association status can be associated, disassociated, or undefined. If its status is associated, the target does not have to be defined with a value. | ||
Results: | The result type is the same as MOLD (if
present); otherwise, it is determined as follows:
The result is a pointer with disassociated association status.
|
Examples
Consider the following:
INTEGER, POINTER :: POINT1 => NULL()
This statement defines the initial association status of POINT1 to be disassociated.