This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Print function name - Determining Current Function Name
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 21, 2011
01:49 AM
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.
for example in perl we have:
$this_function = (caller(0))[3];
http://docstore.mik.ua/orelly/perl/cookbook/ch10_05.htm
Please advice
Thanks.
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
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.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 23, 2011
02:05 PM
Sorry, we don't have that. We do have __FILE__ and __LINE__, though, which might serve a similar purpose.