Re: Newbie Programming question
- To: mathgroup at smc.vnet.net
- Subject: [mg53455] Re: Newbie Programming question
- From: Carlo Teubner <"See signature. "@example.com>
- Date: Wed, 12 Jan 2005 03:41:31 -0500 (EST)
- Organization: Oxford University, England
- References: <crvtn6$144$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
In[1]:= i = 17; foo = StringJoin["var", ToString[i]]; (* You can't use + to join strings together. *) Evaluate[Symbol[foo]]=17; In[3]:= var17 Out[3]= 17 HTH, Carlo