As a user, the whole pointer system in F90 has been nasty for years. The
different requirements for dynamic allocation, aliases and genuine pointers
were combined in F90 in a way that still confuses me. Virtually all our
code just needs dynamic allocation inside derived data types, and all the
POINTER logic we were forced to introduce was unnecessary complication.
I look forward to F2000 when I can change all my POINTER attributes to the
ALLOCATABLE ones I originally wanted, and restrict my POINTER use to the
small sections of the code where the alias properties are useful.
John
--
John Bray, Numerical Weather Prediction Tel: +44 (0) 1344 854035
Room 337 [log in to unmask]
The Met. Office http://www.met-office.gov.uk
London Road, Bracknell, RG12 2SZ, UK http://www.jrbray.org.uk
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|