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]Destroy Instance

2003-01-28 Thread Andrew J.Swan [home]
* Luis Del Aguila [LDA] [Tuesday, January 28, 2003] wrote: * subject: [fpc-pascal]Destroy Instance * msgid:00af01c2c6fb$8a85a320$491e30c8@mesajil LDA> Type LDA> TClase1 = Class LDA> campo1:string; LDA> End; LDA> TClase2 = Class (TClase1) LDA> campo2:string; LDA> End; LDA> Var b:Tc