prologic at daisy.ods.org
Sun Jul 6 16:38:13 CEST 2003
On Sun, Jul 06, 2003 at 04:25:15PM +0200, Marco van de Voort wrote:
> > 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.
Is there an example other than list.pp in the fcl source ?
Also just for the record of knowing... I have attached datanicks.pas
which hold a dynamic array of TNick ... Is this what TList already does
(if so I'm wasting my time writing my own code...) ?
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
- James Mills
Zero Defect Software Engineers Group - ZDSEG
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5046 bytes
Desc: not available
More information about the fpc-pascal