* 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:
FreeAnd
> 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
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
b:=TClase2.create;
b.campo1: