*To*: mathgroup@smc.vnet.net*Subject*: [mg11946] RE: [mg11938] List as variable*From*: "jmt" <jmthomas@cybercable.tm.fr>*Date*: Fri, 10 Apr 1998 01:03:38 -0400

Two tips: 1- Your command is not syntaxically correct: you should write "Number" instead of "Numbers". Normally you should have had a warning message; check if the generation of warning messages is not disabled (see the reference book for messages). 2- If you are using Version3, use the menu command Input/GetFilePath to enter the path of the file you want to read. If you are still in Version2, make sure the path is correctly written, for instance with Microsoft OSes, the path look like "F:\\Math\\foo.m" , because Backslash is a special character. Hope this helps, **************************************** Jean-Marie THOMAS Conseil et Audit en Inginierie de Calcul Strasbourg, France **************************************** -----Original Message----- From: A. T. Roach [mailto:roach@1001apl.washington.edu] To: mathgroup@smc.vnet.net Subject: [mg11946] [mg11938] List as variable I am a newcomer to Mathematica and am having a little trouble reading in a file. I can get In[1]:= ReadList["flnm",RecordLists->True,Numbers] to read in a file and make a list, but I don't quite understand how to put that list into a variable so that I can work on it. When I try something simplistic like In[2]:= data=ReadList["flnm",RecordLists->True,Numbers] I just get Out[2]=ReadList["flnm",RecordLists->True,Numbers] and In[3]:=data Out[3]=data I would suppose this is something fundamental and simple, but I am not making any progress, so any help will be greatly appreciated. Thanks...remove 1001 to reply.