morganw
(Fresh Scripter)
2022-09-26 03:51 PM
Macro for the current function name

A macro which expands to the current function name would be useful for logging function entry and exit points, or for anything that needs to generate a message about the function usage.

 Code:
? "Entered function @FUNCTION"
? Deprecated(@FUNCTION)
? "Leaving function @FUNCTION"


Ruud van Velsen
(Hey THIS is FUN)
2022-09-30 05:26 PM
Re: Macro for the current function name

Nice idea, thanks for the suggestion!
I'll put this on the list for the next update.


morganw
(Fresh Scripter)
2022-10-18 01:00 PM
Re: Macro for the current function name

I'm presuming this is where @INUDF appeared from.
Thanks!


Ruud van Velsen
(Hey THIS is FUN)
2022-10-19 02:16 PM
Re: Macro for the current function name

Yup, you've guessed it :-)

Thanks again for the suggestion!