[fpc-pascal] TList: newbie question

2009-04-01 Thread Bart
Hi, I never used TList before, so I'm not sure if this is correct. I constructed a TlcTextCache class that basically stores objects of type TLcText in a TList. A TlcText object is create with TLcText.Create(FileName). My questions: - I add my TlcText objects to the list by

Re: [fpc-pascal] TList: newbie question

2009-04-01 Thread Paul Nicholls
- Original Message - From: Bart bartjun...@gmail.com To: FPC-Pascal users discussions fpc-pascal@lists.freepascal.org Sent: Wednesday, April 01, 2009 10:12 PM Subject: [fpc-pascal] TList: newbie question Hi, I never used TList before, so I'm not sure if this is correct. I