MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

returning a variable's name, rather than the variable's contents


There must be a simple way to do this but it eludes me. Take for example the
following:

 

In[2]:= a=1;b=2;c=3;

 

In[3]:= Max[a,b,c]

 

Out[3]= 3

 

What would I do if I wanted Out[3] to equal "c" ?

 

Thanks in advance,

 

Michael Stern




  • Prev by Date: Re: "No more memory available" -- a recurring problem
  • Next by Date: Re: Finding the Number of Pythagorean Triples below a bound
  • Previous by thread: Re: Trouble with Module in a package
  • Next by thread: Re: returning a variable's name, rather than the variable's contents