In our previous episode, Ondrej Pokorny said: > > I remember there should be a compiler macro in current FPC trunk to get > the function name but I cannot find it: > > function TMyObject.DoSomething: Integer; > begin > ? Writeln(_CLASSNAME_, '.', _FUNCTIONNAME_); > end; > > Does anybody know the macros or do I remember it wrongly?
{$i %CURRENTROUTINE%} _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel