You are probably confusing a TStringList with a Tlist. If you have multi
variable types then a Tlist is a good choice. Look up Tlist.Add for a good
example. If you have Delphi 5 then TObjectList is another choice.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Damien Long
Sent: Thursday, March 22, 2001 10:41 AM
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Array - deleting an element


Rob
         I have arrays containing strings, doubles, integers and booleans. So List
won't help, is there anything else or something to modify the List to allow
for all these values..

Damien

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Robert Martin
Sent: Thursday, 22 March 2001 9:37 AM
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Array - deleting an element


Depending on the data being stored it might be better to store it in a TList
as an object.  This lets you use the built in resizing, is easier to use and
debug but is slower than your array structure.

Rob
Software engineer
Wild Software Ltd
[EMAIL PROTECTED]

---------------------------------------------------------------------------
    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"

---------------------------------------------------------------------------
    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