Jump to content

Recommended Posts

Posted

Hi, guys

Is there any possibility to get the function name within this function?

for example

Func ABC ()

MsgBox(ThisFunctionName) ;anyway, should print out ABC

EndFunc

Thanks a lot!

Posted

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

Posted

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

suppose we have hundreds of functions need to rewrite, it's time consuming i think

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...