MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Unformatted File IO

  • To: mathgroup at
  • Subject: [mg44432] Unformatted File IO
  • From: "Bruce W. Colletti" <bcolletti at>
  • Date: Sat, 8 Nov 2003 04:51:13 -0500 (EST)
  • Sender: owner-wri-mathgroup at

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}}?



  • Prev by Date: Trigonometric math functions
  • Next by Date: Re: Mathematica 5 crashes
  • Previous by thread: Re: Trigonometric math functions
  • Next by thread: Re: Unformatted File IO