I'm experimenting for the first time with the new polymorphic types
in F2003 and am unclear about one particular aspect. It seems that
it is not possible to have a polymorphic-type array with each element
a different dynamic type. Is that correct? If so, then what is the
best way to achieve the effect. Is it to adapt the array-of-pointers
technique by introducing a type that boxes a pointer to the polymorphic
type, and then declaring an array of the box type and allocating each
pointer to the desired dynamic type?
Thanks,
Neil
--
Neil Carlson <[log in to unmask]>
|