MathGroup Archive 2001

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

Search the Archive

Re: ReadList query

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27803] Re: ReadList query
  • From: Albert Retey <albert.retey at visualanalysis.com>
  • Date: Fri, 16 Mar 2001 04:38:01 -0500 (EST)
  • Organization: Visual Analysis AG
  • References: <98cgri$g2m@smc.vnet.net> <gl_q6.11722$96.61938@ralph.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Allan Hayes wrote:
> 
> Bob,
> 
> ReadList["fl",{Word,Word}, WordSeparators->";"]

Probably after that you want to use something like 

Map[ToExpresion[StringReplace[#,","->"."]]&,%,{2}]

to change the strings "3,5" to "3.5" and then to a number 3.5 ...
See the online help for explanations on the functions used, then you
should be able to import even more complicated ASCII-data.

hope this helps

Albert
--
Visual Analysis AG       Internet: www.visualanalysis.com
Neumarkter Str. 87       Telefon: 089 / 431 981 36        
D-81673 Muenchen         Telefax: 089 / 431 981 1


  • Prev by Date: Re: aesthetic ColorFunction for DensityPlots
  • Next by Date: 4.1 Help Browser font size on W2k
  • Previous by thread: Re: ReadList query
  • Next by thread: Re: ReadList query