Re: [fpc-pascal]Free Instance

2003-01-29 Thread Andrew J.Swan [home]
* Luis Del Aguila [LDA] [Wednesday, January 29, 2003] wrote: * subject: [fpc-pascal]Free Instance * msgid:000101c2c786$cdb45d90$1d1e30c8@mesajil [...] LDA>Writeln(b.campo2); LDA>b.free;//if free the instance . // replace b.free with: FreeAndNil (b) ;

Re: [fpc-pascal]Free Instance

2003-01-29 Thread Marco van de Voort
> I don't Understand, I compile this code with FPC 1.06 for Windows and the > directive compiler -S2 -Rintel. > is it a bug?. > > Thanks > > > Type >TClase1 = Class > campo1:string; >End; >TClase2 = Class (TClase1) > campo2:string; >End; > > Var b:Tclase2; > Begin