Re: [fpc-pascal] GetMem question

2006-12-01 Thread Flávio Etrusco
() var lList : PPropList; begin lList := nil; // <<== New line, I expect to fix a FPC warning ... GetMem(lList, lSize); But it's created a warning in BDS2006 Variable assigned to LList never used - Simply put: the parameter is always di

Re: [fpc-pascal] GetMem question

2006-12-01 Thread Daniël Mantione
Op Fri, 1 Dec 2006, schreef Graeme Geldenhuys: > I got this question from a Delphi 2006 user regarding a code change I > made in the tiOPF project. tiOPF is compiled with FPC using the > Delphi compiler mode. FPC 2.0.4 and FPC 2.1.1 is used. > > - >

[fpc-pascal] GetMem question

2006-11-30 Thread Graeme Geldenhuys
I got this question from a Delphi 2006 user regarding a code change I made in the tiOPF project. tiOPF is compiled with FPC using the Delphi compiler mode. FPC 2.0.4 and FPC 2.1.1 is used. - procedure tiGetPropertyNames(AClass : TtiBaseObjectClass;