Allocatable arrays not permitted in F90 structures! 
Author Message
 Allocatable arrays not permitted in F90 structures!


> >In the Sun compiler, POINTER arrays are allowed in structures but
> >ALLOCATABLE arrays are not. For example, the compilation of

> >Is this a  standard F90 behaviour?

> Yes, this is standard F90 behavior. Does
> anyone recall if it is fixed in F95? I
> think it is but can't recall.

It was originally scheduled as one of the few new things for f95,
but all the details weren't worked out in time.  It is definitely
on for f2k.  In fact, it is in a "type 2 technical report"  (ISO-speak
for what I might call a beta version of a standard) that is due out
"soon."  The idea behind the TR is that f95 compilers might add on this
feature without waiting for the rest of f2k, with official assurance
that the feature will be added in f2k with no incompatable changes
(unless the "beta" reveals significant problems).

So its not in f95 per se, but there are at least some grounds for
hoping that some f95 compilers might include it.  How much this
actually happens remains to be seen.

Richard Maine

Mon, 21 Feb 2000 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. f90 function returns structure with allocatable arrays

2. Why no allocatable arrays as structure components?

3. Initialising of allocatable character arrays in f90/f95

4. allocatable arrays in f90

5. F90/SX and allocatable arrays

6. Limited size of allocatable arrays with DEC Alpha F90

7. f90 passing allocatable array


9. Allocatable arrays (F90 newbie)

10. Efficiency of pointer vs. allocatable arrays in F90

11. allocatable array *not* equivalent to dynamic allocation?

12. allocatable vs non-allocatable arrays


Powered by phpBB® Forum Software