[fpc-devel] comparing methods

Michael Van Canneyt michael at freepascal.org
Thu Sep 10 19:20:26 CEST 2009



On Thu, 10 Sep 2009, Florian Klaempfl wrote:

> Mattias Gaertner schrieb:
>> On Thu, 10 Sep 2009 17:52:44 +0200
>> Florian Klaempfl <florian at freepascal.org> wrote:
>>
>>> Ivo Steinmann schrieb:
>>>> 1. Using =nil or Assigned should result in the same.
>>> Afaik not, this was one of the reasons for assigned.
>>
>> Are there any other reasons for assigned?
>
> Distinction between f=nil and f=nil ;)? When it was introduced, I guess
> f()=nil was not possible.

Another idea was that Assigned() could test if a pointer was within
range of the heap.

Michael.



More information about the fpc-devel mailing list