Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2003

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

Search the Archive

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


  • 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