[fpc-pascal] Arrays of objects

Adrian Maier adrian.maier at gmail.com
Wed Oct 31 11:26:22 CET 2007


On 10/31/07, Matt Emson <memsom at interalpha.co.uk> wrote:
> Adrian Maier wrote:
> > Hello,
> >
> > I'm seeking for advice about which is the best way to hold an array of
> > class instances
> > I need to access the elements using its position (like a regular
> > array) , and also i'd like
> > the structure to grow when I add more elements
> TObjectList

I am aware that TObjectList is one of the possible ways.
But I was hoping to get a better understanding about the purpose of these
various classes or types of array ,  and more importantly what are the
drawbacks .

Is there really no wiki page , tutorial, anything  that provides an overview of
the collections and types of arrays that FPC has ?


-- 
Adrian Maier



More information about the fpc-pascal mailing list