| Author |
Comment/Response |
Mike
|
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
a=b$96/2.
aFunc[] := Module[
{a, b},
Print["a=", a /. Solve[b == 2a, a][[1]][[1]]];
];
Thanks,
-Mike
URL: http://web.pdx.edu/~mwitt, |
|