reading expressions in a file
- To: mathgroup at smc.vnet.net
- Subject: [mg108189] reading expressions in a file
- From: Maria Davis <arbiadr at gmail.com>
- Date: Wed, 10 Mar 2010 01:44:37 -0500 (EST)
Hi ;
I have a file .txt generated from a software, each line of the file
includes an expression and the last line is empty.
How can Mathematica read lines of the text file and include each line
in the same list without reading the last empty line .
I used :
MYLIST = ReadList["file.txt", Record, RecordSeparators -> {}]
But it still reading the empty line.
Thanks.