MathGroup Archive 1997

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

Search the Archive

Lists in Macintosh with ASCII(10)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg6379] Lists in Macintosh with ASCII(10)
  • From: Finger <finger at iis.u-tokyo.ac.jp>
  • Date: Sat, 15 Mar 1997 01:21:12 -0500 (EST)
  • Organization: University of Tokyo -Japan, University of Berlin-Germany
  • Sender: owner-wri-mathgroup at wolfram.com

Hey Mathematicaner,

Having a Dos Text File, means having at the line Ends always, ASCII
(13) and ASCII(10). Macintosh, does not know that differenz therefore 
Mathematica gives for FromCharacterCode[10] the same as for 
FromCharacterCode[13].

This might be not bothering, but as soon as I want to read a list, it 
gives me problems.

ReadList[list,Number,RecordLists->True,
  RecordSeparators\[Rule]{FromCharacterCode[13],FromCharacterCode  
  [10]},WordSeparators\[Rule]{"$B! at (Jt"}]

does not do it... anyone a clue? how?

thanks

Lutz


  • Prev by Date: Where is Terry Robb ?
  • Next by Date: Help: Print/Write
  • Previous by thread: Re: Where is Terry Robb ?
  • Next by thread: Lists in Macintosh with ASCII(10)