[fpc-pascal]TCollection question

Marco van de Voort marcov at stack.nl
Sun Jul 6 16:25:15 CEST 2003

> Is there an example of using TCollection or something (without having to
> write the code myself) that manages a collection of FPC style classes
> (objects) ?
> I'd like to see one, code I have written to handle a dynamic array of
> objects has gone out of control... (Using FPC classes here)

IIRC, TCollection only stores TCollectionItem derived classes.

TList is closer to what you want probably.

More information about the fpc-pascal mailing list