Clive Page <[log in to unmask]> writes:
> If there _were_ a null value for types of object I think it would be
> very useful for the Fortran Standard to specify that all variables
> should be initialised to it. Since there _is_ one for pointers, I
> would support setting them to null initially by default.
Amen!
> The current problems are compounded by the lack of any way of
> presetting a pointer to null in F90, fortunately fixed in F95.
The area where the undifined status hurts (me) most is the need to use
pointers as poor man's allocatable components in user defined types.
F95 helps a lot and F2K will (hopefully) be even better.
--
Thorsten Ohl, Physics Department, TU Darmstadt -- [log in to unmask]
http://heplix.ikp.physik.tu-darmstadt.de/~ohl/ [<=== PGP public key here]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|