Mathematica 9 is now available
Student Support Forum
Student Support Forum > General > > "Problems making and saving lists"

Post Reply:
Email Address:

Please send email when my message is replied to.

Url (optional):
Message: view original message?
Attachment (optional):
Please answer this:1+7 =

Original Message (ID '76015') By Bill Simpson:
Is this what you are looking for? In[1]:= test[x_, y_] := x + y; For[x = 1, x < 9, x++, Put[Table[test[x/10, y], {y, 0, 3}], "TESTT" <> ToString[x] <> ".dat"] ] And in a moment I find files TESTT1.dat, TESTT2.dat,...TESTT8.dat in my Mathematica folder. TESTT1.dat contains {1/10, 11/10, 21/10, 31/10} Similarly for TESTT2.dat... Mathematica reserves the _ character for a special purpose and using those in variable names will cause you no end of problems.