On 6/3/06, Al Boldi <[EMAIL PROTECTED]> wrote:
In the fpc-rtl there is something like this:
procedure TObject.Free;
begin
if self<>nil then self.destroy;
end;
Does this make sense? i.e. How is it possible for self to be nil?
Thanks!
--
Al
'Self' isn't a global variable associated with the method, it's simply
a parameter passed implicitly to the method.
-Flávio
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives