Hello!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? Thanks Ondrej _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel