help with new symbols (or pointers)
- To: mathgroup at smc.vnet.net
- Subject: [mg92387] help with new symbols (or pointers)
- From: ag <ashutoshgupta.umd at gmail.com>
- Date: Tue, 30 Sep 2008 07:35:19 -0400 (EDT)
Hi, I want to create new symbols inside a module & assign them values=85 e.g. something like: Symbol[=93x=94<>"num"] = 5 It is not working=85 The problem is that I dont know how many symbols I would need (it could be 5, 50 or 5000)... So I cannot do something like: Symbol["x"<>"1"]; x1=5; Is there anything in Mathematica which is like pointers in C (something which would assign a value to a given location in memory)? Any help would be appreciated! Thanks, AG.