Nils Smeds asked:
>Firstly: Does anyone know what lies behind the standard explicitly stating
>that a dummy argument must not have the ALLOCATABLE attribute?
That's what was passed. As I recall, when POINTERs were added, the
ALLOCATABLE facility was restricted into being very minimal.
This is corrected in the "allocatable TR"
(viz the ISO/IEC Technical Report "Fortran - Enhanced data type facilities").
This adds:
- allocatable dummy arguments
- allocatable function results
- allocatable components
Like the "IEEE module TR", the facilities described in this TR will be in
Fortran 2002.
Several compilers implement these TRs, in particular the NAG compiler.
Cheers,
--
...........................Malcolm Cohen, NAG Ltd., Oxford, U.K.
([log in to unmask])
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|