Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Obtain current function name programatically?

Status
Not open for further replies.

SneezeDragon

Programmer
Mar 6, 2002
13
0
0
US
Is there a way to obtain the name of the current function programatically? (ie, if I'm in the "HelloWorld" function, I call a command that returns the current function name, "HelloWorld".)

I realize that I can manually set a string constant to the function name, but if I chose to do this, I'd need to manually type each function name in about 200 functions -- seems like an awful waste of time.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top