Hello,
Can someone please point to me why accessibility attributes can be set for
all components in a derived data-type and not on an individual basis:
type example
private
integer :: n
real :: x
end type
is legal, but:
type example
integer, private :: n
real, public :: x
end type
is not. Why (in F95)? I find the need to do this kind of per-component
accessibility selection rather often and usually one has to box and box
types to get the order rthis right in F95, so in the module for skip lists I
am writing now the depth of data types has already reached a record 10 or
so...
Thanks,
Aleksandar
_____________________________________________
Aleksandar Donev
http://www.pa.msu.edu/~donev/
[log in to unmask]
(517) 432-6770
Department of Physics and Astronomy
Michigan State University
East Lansing, MI 48824-1116
_____________________________________________
|