cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Barvaz
Level 6

Print function name - Determining Current Function Name

Hi

How can i determining Current Function Name - i would like to print it to the log file.

function example(hMSI)
begin
// print "==== START example ===="
// print "==== END example ===="
end


for example in perl we have:
$this_function = (caller(0))[3];


http://docstore.mik.ua/orelly/perl/cookbook/ch10_05.htm

Please advice
Thanks.
Labels (1)
0 Kudos
1 Reply
MichaelU
Level 12 Flexeran
Level 12 Flexeran

Sorry, we don't have that. We do have __FILE__ and __LINE__, though, which might serve a similar purpose.
0 Kudos