| Author |
Comment/Response |
yehuda ben-shimol
|
09/19/06 10:33pm
Hi,
It seems that you are adopting programming approach and concepts from c-like programming language.
As a first advice, do not use For loops. I never used them with Mathematica, and this is for many years
Now the real issue is whether you are interested with a list of strings or a list of variable names
for a list of string this is rather simple
Table["List"<>ToString[i],{i,10}]
generates a list
{"List1","List2",...,"List10"}
Not that the elements of the list will not serve as variables names
otherwise, if you are interested with list of names, just define them when you assign something to them. There is no need for declaration or definition of variables beforehand as in c, c++, Java and alike programs
good luck
yehuda
URL: , |
|