Re: [Lazarus] TStringList error

2008-07-21 Thread Bob K.
Thank you Vincent. -- From: "Vincent Snijders" <[EMAIL PROTECTED]> Sent: Monday, July 21, 2008 10:22 AM To: "General mailing list" Subject: Re: [Lazarus] TStringList error > Bob K. schreef: >> I'm getting th

Re: [Lazarus] TStringList error

2008-07-21 Thread Bob K.
Thank worked. Thank you Cesar. bob k. -- From: "Cesar Romero" <[EMAIL PROTECTED]> Sent: Monday, July 21, 2008 10:02 AM To: "General mailing list" Subject: Re: [Lazarus] TStringList error > This is not a error, as yo

Re: [Lazarus] TStringList error

2008-07-21 Thread Vincent Snijders
Bob K. schreef: > I'm getting the error: *unit1.pas(48,3) Warning: Local variable "List" > does not seem to be initialized* > > Here's the code (which used to work): Then you were unbelievable lucky. list := TStringList.Create is missing. If it used to work, then you the uninitialized variabl

Re: [Lazarus] TStringList error

2008-07-21 Thread Cesar Romero
This is not a error, as you can see is a warning. The erros that you are not creating a instance of TStringList. Before use list you should create the object. List:= TStringList.Create; try // your code here finally List.Free; end; Bob K. escreveu: > I'm getting the error: *unit1.pas(48,3)

[Lazarus] TStringList error

2008-07-21 Thread Bob K.
I'm getting the error: unit1.pas(48,3) Warning: Local variable "List" does not seem to be initialized Here's the code (which used to work): unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ZConnection, ZDataset, db, DBGrid