Unformatted File IO
- To: mathgroup at smc.vnet.net
- Subject: [mg44432] Unformatted File IO
- From: "Bruce W. Colletti" <bcolletti at compuserve.com>
- Date: Sat, 8 Nov 2003 04:51:13 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
I have an unformatted text file whose records hold reals and double-quoted
strings, all delimited by spaces, e.g.,
"hello there" 2.7
1 2 3 4
9 "abc" "def"
How can I read the file to produce a list of lists, e.g., {{hello there, 2.7},
{1,2,3,4}, {9, abc, def}}?
Thanks.
Bruce
- Follow-Ups:
- Re: Unformatted File IO
- From: Yasvir tesiram <yat@omrf.ouhsc.edu>
- Re: Unformatted File IO