Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Local variable names' topicStudent Support Forum > General > Archives > "Local variable names"

Next Comment >Help | Reply To Topic
Author Comment/Response
05/22/08 09:50am

Can anyone tell me how to get access to the names
of variables as known locally in a function, so
that I can print them out? In other words, I'd like
the function below to print out "a=b/2" rather than

aFunc[] := Module[
{a, b},
Print["a=", a /. Solve[b == 2a, a][[1]][[1]]];




Subject (listing for 'Local variable names')
Author Date Posted
Local variable names Mike 05/22/08 09:50am
Re: Local variable names yehuda ben-s... 05/25/08 4:44pm
Re: Local variable names Mike 05/26/08 2:18pm
Next Comment >Help | Reply To Topic