RE: [fpc-pascal] Freepascal and good usage of TStringList

2005-07-25 Thread Jean-Marc Chourot
dear Mariano, OH.. many thanks... How stupid I was ! I feel better now ! JM -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Mariano Envoyé : lundi 25 juillet 2005 20:11 À : 'FPC-Pascal users discussions' Objet : RE: [fpc-pascal] Freepascal an

RE: [fpc-pascal] Freepascal and good usage of TStringList

2005-07-25 Thread Mariano
Well... :-P i'm not good too... but i think that the problems is: List0 and List1 are pointers to an TStringList Object... so, the right sentence must be: List0 := TStringList.Create; List1 := TStringList.create; intead List0.create; List1.create; ".Create" are a class method that give a point

Re: [fpc-pascal] Freepascal and good usage of TStringList

2005-07-25 Thread Martin Smat
Jean-Marc Chourot wrote: Dear All, Could any one help me debug the little piece of code thereafter ? I get a SIGSEGV.. and I don't know why (OK.. i am not that good). Thanks for your help. JM * Program TestStringList; Uses CLasses; var TheStringList:TStringList; P

[fpc-pascal] Freepascal and good usage of TStringList

2005-07-25 Thread Jean-Marc Chourot
Dear All, Could any one help me debug the little piece of code thereafter ? I get a SIGSEGV.. and I don't know why (OK.. i am not that good). Thanks for your help. JM * Program TestStringList; Uses CLasses; var TheStringList:TStringList; Procedure PopulateList(var