returning a variable's name, rather than the variable's contents
- To: mathgroup at smc.vnet.net
- Subject: [mg68422] returning a variable's name, rather than the variable's contents
- From: "Michael Stern" <stern at merrinmanagement.com>
- Date: Fri, 4 Aug 2006 03:59:50 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
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
- Follow-Ups:
- Re: returning a variable's name, rather than the variable's contents
- From: János <janos.lobb@yale.edu>
- Re: returning a variable's name, rather than the variable's contents
- From: Takashi YOSHINO <tyoshino@toyonet.toyo.ac.jp>
- Re: returning a variable's name, rather than the variable's contents