I guess you can create a class with a member that would be this variable
instead and then Read it as a Property. and in that Property Get Sub you can
also set another property (IsVariable1Used) as True or something
Or is that to much of an overkill?
/lars
"dieter" <di************@advalvas.be> skrev i meddelandet
news:62*************************@posting.google.co m...
Hi,
How can I check, automatically, if a variable declared in a function is
used in that function? I have looked at FXCop, but didn't find a solution.
Greetings,
Dieter