Re: [DUG]: Collections or Array of Objects

2000-09-07 Thread Neven MacEwan
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 a

Re: Re:[DUG]: Collections or Array of Objects

2000-09-07 Thread David Brennan
> > What about TList of Objects ??? > > I find the TList easy, flexible and useful... > > In D4 at least the TList is actually just a dynamic array implemented > without the assistance of the Delphi construct but instead using a pointer > to a block of memory. The issues of performance for insert

Re: Re:[DUG]: Collections or Array of Objects

2000-09-07 Thread Aaron Scott-Boddendijk
> What about TList of Objects ??? > I find the TList easy, flexible and useful... In D4 at least the TList is actually just a dynamic array implemented without the assistance of the Delphi construct but instead using a pointer to a block of memory. The issues of performance for inserts, deletes

Re: [DUG]: Collections or Array of Objects

2000-09-07 Thread Aaron Scott-Boddendijk
> 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 ? It always depends upon your circumstances. Array Pros - Small code. - Rapid random access and sequenc

RE: [DUG]: Collections or Array of Objects

2000-09-07 Thread Myles Penlington
t: Friday, September 08, 2000 10:23 PM > To: Multiple recipients of list delphi > 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. compl

Re:[DUG]: Collections or Array of Objects

2000-09-07 Thread Paul_McKenzie
What about TList of Objects ??? I find the TList easy, flexible and useful... HTH Regards Paul Reply Separator Subject: [DUG]: Collections or Array of Objects Author: [EMAIL PROTECTED] Date: 08/09/2000 22:23 HI all. What do you

RE: [DUG]: Collections or Array of Objects

2000-09-07 Thread vss
Yeah not knowing the number of items is an issue, although the array only needs to cover a day, BUT I guess I should use a collection as one never knows what the future holdsoh well better re-do my code... Cheers, Jeremy Coulter ---

Re: [DUG]: Collections or Array of Objects

2000-09-07 Thread Matt Powell
[EMAIL PROTECTED] wrote: > > 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 ? It depends if you know exactly how many objects you're going to need. It c

[DUG]: Collections or Array of Objects

2000-09-07 Thread vss
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