Thanks Mark, but I don't want anything complicated.  I'm very new to Delphi &
I'm probably going about it the wrong way.  Though I found the following code
on the net which is suppose to provide an array of tstringlist but I don't
understand the syntax.  I think it's from an old version of Delphi.  Is someone
able to give me the Delphi 5 equivilent syntax?

typedef TStringList * MyLists;
MyLists * MyStrings = new Test[10];
for (int i =0; i <10; i++)
      MyStrings[i] = new TStringList;

Ross.

Mark Derricutt wrote:

> SOunds like you could do with my TStringCollection comp, email me in the
> morning and I'll forward the code when I get to work in the morning.
>
> --On Thursday, July 05, 2001 21:55:54 +1200 Ross Levis
> <[EMAIL PROTECTED]> wrote:
>
> > I was hoping the following would work but it appears not.  It compiles
> > OK but produces memory errors at runtime.  Why doesn't the compiler
> > complain if TSringList can't be used in an array?
> >
>
> ---------------------------------------------------------------------------
>     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