reference to 'self' inside a function

bearophile bearophileHUGS at lycos.com
Tue Jul 17 15:03:25 PDT 2012


angel:

> I propose to introduce a reference to the current function, 
> much like 'this' in a class method. Call it 'self' or 
> 'thisFunc', or whatever ...

Or __func or something. I'm asking for it for years.

Bye,
bearophile


More information about the Digitalmars-d mailing list