ryanhui Posted November 6, 2007 Share Posted November 6, 2007 Hi, guysIs there any possibility to get the function name within this function?for exampleFunc ABC ()MsgBox(ThisFunctionName) ;anyway, should print out ABCEndFuncThanks a lot! Link to comment Share on other sites More sharing options...
tannerli Posted November 6, 2007 Share Posted November 6, 2007 Maybe its not the fastest way, but it would work.... I think Just keep a Local variable updatet let's say $FUNC and at the beginning you always set the var to the name: $FUNC = ABC Link to comment Share on other sites More sharing options...
ryanhui Posted November 6, 2007 Author Share Posted November 6, 2007 Maybe its not the fastest way, but it would work.... I thinkJust keep a Local variable updatet let's say $FUNCand at the beginning you always set the var to the name: $FUNC = ABCsuppose we have hundreds of functions need to rewrite, it's time consuming i think Link to comment Share on other sites More sharing options...
tannerli Posted November 6, 2007 Share Posted November 6, 2007 ah sry, I thought you meant just UDF's.... Link to comment Share on other sites More sharing options...
Developers Jos Posted November 6, 2007 Developers Share Posted November 6, 2007 I have seen this question before but don't really understand its purpose. In which situation would this be useful ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now