Hell - Everyone else has had a go..

For small sets (only accessed in on or 2 methods) = TObjectList (as it
collects its onwn garbage)
use it until you get sick of typing  TObjectClass(FObjectList[i])
or my favorite

with TObjectClass(FObjectList[FObjectList.Add(TObjectClass.Create)]) do...

For any thing else (or if exposed) TCollection

with FCollection.Add do

TTFN


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Sent: Friday, 8 September 2000 22:23
Subject: [DUG]: Collections or Array of Objects


> HI all.
>
> What do you think is better a collection of objects, or an array of
objects ?
>
> Collections seem to be res. complicated, where as an array of objects is
simple as.
>
> Anyone have any thoughts ?
>
> Cheers, Jeremy Coulter
>
>
>
> Jeremy Coulter (Manager)
> Visual Software Solutions
> Christchurch, New Zealand
> PH 03-3521595
> FAX 03-3521596
> MOBILE 021-2533214
> www.vss.co.nz
>
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to