Classifying variable scope...
- To: mathgroup at smc.vnet.net
- Subject: [mg67583] Classifying variable scope...
- From: "MS" <mark.stankus at gmail.com>
- Date: Sat, 1 Jul 2006 05:12:20 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hello, I would like to have a program ClassifyVariables so that if dude[x_,y_] := Module[{z,w}, Do[Print[i],{i,1,10}];z+q]; then ClassifyVariables[dude] would yield {Parameters->{x,y}, LocalVariables->{z,w},GlobalVariablesUsed->q,LocalVariablesUsed->{z}, HiddenScopeVariables->{i}} Is there such a program already available? Any suggestions or pieces of such a program available? Mark