On Wed, Apr 27, 2011 at 19:19, Jürgen Hestermann
<[email protected]> wrote:
> I also don't understand why it is needed to manually free and
> set nil an object pointer if a destructor for the object exists
> which should do all this. This is like writing another destructor
> and makes object oriented programming (even more) useless.

No, the destructor can not change the object pointer.
That is the whole point.

-- 
Alexander S. Klenin

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to