[fpc-pascal] class of a class function

CA Gorski fpc-pascal-list at artelogic.com
Tue Aug 7 11:46:34 CEST 2012


I tried that already, but at least in my case Self is Nil inside the 
class function.
Compiler (fpc 2.6.1 ) bug?



On 07.08.2012 11:22, Jonas Maebe wrote:
>
> CA Gorski wrote on Tue, 07 Aug 2012:
>
>> How can I get the actual class a class function is called in?
>
> Via "self".
>
>
> Jonas
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>




More information about the fpc-pascal mailing list