J.L.Schonfelder wrote:
> I would have said deallocate should
> only be used if the pointer was previously associated with space by
> allocation.
I disagree with this. Transfering allocated space between objects is a
useful thing and should be supported in some way in the language. Note
that in F2003 we added the possibility of doing so between ALLOCATABLEs
via the MOVE_ALLOC intrinsic. It is the equivalent of
P=>Q
Aleks
|