Re: Reading numerical data from a file which also contains a text
- To: mathgroup at smc.vnet.net
- Subject: [mg92828] Re: Reading numerical data from a file which also contains a text
- From: yatesd at mac.com
- Date: Tue, 14 Oct 2008 04:58:39 -0400 (EDT)
- References: <gcv7lj$e69$1@smc.vnet.net>
Almost right. FindList->Find snum = OpenRead["test.t19"]; Find[snum,"Coordinates"]; data=ReadList[snum,Number,RecordLists->True] Close[snum]; returned {{1, 0., 0.}, {2, 1.5, 0.}, {3, 1.5, 1.5}, {4, 0., 1.5}} for me. Remember to close the file though.