[fpc-devel] Assign Self

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Jul 11 13:22:37 CEST 2009


On 11 Jul 2009, at 13:11, Micha Nelissen wrote:

> Jonas Maebe wrote:
>> On 11 Jul 2009, at 12:53, Micha Nelissen wrote:
>>> Are we supposed to be able to assign to Self?
>> Yes.
>
> When would it be used?

You can find some examples here:
* http://www.google.com/codesearch?hl=en&q=%22self%3A%3D%22+lang%3Apascal
* http://www.google.com/codesearch?hl=en&q=%22self+%3A%3D%22+lang%3Apascal

Note that some hits, like the one in cgbase.pas of FPC, refer to the  
self parameter of objects, not of classes.


Jonas



More information about the fpc-devel mailing list