RE: [fpc-pascal]TStringList index

2004-03-14 Thread Jesus Reyes
- Original Message - From: Taj Morton <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, March 14, 2004 1:04 PM Subject: [fpc-pascal]TStringList index > Hi all, > This code has been driving me nuts for the past week. > IDs:=TStringList.Create; > for i:=0 to Datab.List

Re: [fpc-pascal]TStringList index

2004-03-14 Thread Taj Morton
Hi Vincent, > > Instead do: >IDs.Add(Tmp.Strings[0]); Aha! Thank you! --Taj -- panic: kernel trap (ignored) ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]TStringList index

2004-03-14 Thread Vincent Snijders
On Sun, 14 Mar 2004 11:04:34 -0800 Taj Morton <[EMAIL PROTECTED]> wrote: > Hi all, > This code has been driving me nuts for the past week. You have to add them to the list, before you can access them. >IDs:=TStringList.Create; Creates a list without elements > for i:=0 to Datab.List_Fie