Help w/ conversion of txt file to useable form for Mathematica

*To*: mathgroup at smc.vnet.net*Subject*: [mg14209] Help w/ conversion of txt file to useable form for Mathematica*From*: darrmis at aol.com (Darrmis)*Date*: Wed, 7 Oct 1998 03:00:40 -0400*Organization*: AOL http://www.aol.com*Sender*: owner-wri-mathgroup at wolfram.com

Can anyone help me with a problem. I am using another program which outputs a bunch of data into several text files. For example, an outputed file would look like: ((surface_one 3) (x 7 3 9 ) (y 2 1 6 ) (x-accel 24 17 2 ) ) Except the number of entries would be several thousand. Each new line is a carriage return. I would like to get this data into mathematica in the form of lists. For instance, based on the above example, I would like to define in mathematica: xcoord={7,3,9}; ycoord={2,1,6}; xaccel={24,17,2}; Does anybody know how to do this easily. I would be very grateful for help. Thanks. Karl Kevala karlk at eng.umd.edu