comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: reading in | delimited files into multiple arrays
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: reading in | delimited files into multiple arrays [message #49003] Sat, 10 June 2006 10:45 Go to previous message
Marshall Perrin is currently offline  Marshall Perrin
Messages: 44
Registered: December 2005
Member
johnadams_1980@yahoo.com <johnadams_1980@yahoo.com> wrote:
> Hi All,
>
> How do you read in a | delimited file in to multiple arrays, one for
> each column of the data?

'readcol' from the Goddard IDL astronomy library does just this:

readcol,'filename.txt', delim='|', a1, a2 , a3 ,a4

- Marshall
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Roses Blooming
Next Topic: replace elements in array

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 02:49:59 PDT 2025

Total time taken to generate the page: 0.96094 seconds