LF Fortran 95

NULLIFY Statement

Description

The NULLIFY statement disassociates a pointer.

Syntax

NULLIFY (pointers)
Where:

pointers is a comma-separated list of variables or structure components having the POINTER attribute.

Example

real,pointer :: a,b,c real,target :: t,u,v a=>t; b=>u; c=>v ! a, b, and c are associated nullify (a,b,c) ! a, b, and c are disassociated