dsmith <[log in to unmask]> wrote:
...
> TYPE FM
> SEQUENCE
> DOUBLE PRECISION MFM(0:300)
> END TYPE
>
>Questions about SEQUENCE:
>
>(1) is it required here?
No.
>(2) if not, are there any reasons why it is better to leave it in
> or remove it?
The sequence attribute exists in order to allow derived data type
objects to be shared between procedures which do not both
access the same type definition, an to allow derived type
objects to be storage associated with non-derived types
(or objects of different derived types). If you're not doing
these things, it's possibly best to leave the sequence attribute
out. But in may implementations, it may make no difference at
all.
--
J. Giles
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|