Symbol function, a question
- To: mathgroup at smc.vnet.net
- Subject: [mg90476] Symbol function, a question
- From: tung tran <tunganhtr at yahoo.fr>
- Date: Thu, 10 Jul 2008 06:37:09 -0400 (EDT)
- Reply-to: tunganhtr at yahoo.fr
Hi everybody, I have a question needing your help. Firstly, I create a variable x95 = 100 Now, I want to change the value of my variable x95 to 20 , so I want to use some procedure like : Symbol["x" <> ToString[95]] = 20 my idea is to make Mathematica write the term "x95" automatically for me but when I use the Symbol function in this case, it gives me automatically 100 and I don' t know how to call only x95. Thank you if someone can give me a suggestion. Tung