> Luis Del Aguila schrieb:
> 
> >   b.destroy;             //if destroy the instance .
> >   Writeln(b.campo2);     // Why the instance exist?
> 
> You have to call b.Free instead of b.Destroy to properly destruct the 
> instance.
> 

Free automatically calls the destructor if the object reference is not nil.

_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to