Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

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.


  • Prev by Date: Old version notebooks
  • Next by Date: AuthorTools bug in Export v5.2
  • Previous by thread: Re: Old version notebooks
  • Next by thread: Re: help with new symbols (or pointers)