Instead of worrying about the variable name, I would suggest that you consider using caller so that you know where the show function was called from. The package name, file name, and line number are going to tell you a lot more debugging information than the name of a variable which is likely to be ambiguous anyway.
- Miller
In reply to Re: Displaying a variable's name and value in a sub
by wind
in thread Displaying a variable's name and value in a sub
by Smile-n-Nod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |