[fpc-pascal] How are Assigned, Free, Nil and Destroy related?

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Oct 22 09:31:57 CEST 2011





Alexander Shishkin <alexvins at mail.ru> hat am 22. Oktober 2011 um 08:31
geschrieben:

> 22.10.2011 10:20, Felipe Monteiro de Carvalho пишет:
> > I understand Assigned as being the same as<>  nil, so Assigned(Object)
> > = Object<>  nil
> >
> > I vaguely remember that it could be safer in some corner case, but I
> > don't remember ever meting that.
> >
> Method pointers? 
In former versions there was a difference for method pointers.
Now it is the same. I'm not sure since when. 
 
 
Mattias
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20111022/b5a613a0/attachment.html>


More information about the fpc-pascal mailing list