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

Home » Public Forums » archive » Re: Reading a table of data quickly
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 a table of data quickly [message #34148 is a reply to message #34146] Tue, 25 February 2003 07:32 Go to previous messageGo to previous message
CelticBlues is currently offline  CelticBlues
Messages: 10
Registered: February 2003
Junior Member
That's it? Cool! I am beginning to like this IDL...
Ed

"R.G. Stockwell" <sorry@noemail.now> wrote in message
news:0UL6a.490$L94.23587@news.uswest.net...
> CelticBlues wrote:
>> I have a table of floating points I need to read from a file. I will
know
>> at run time, from other information in the file, the number of rows and
>> cols.
>>
>> Assume I have read the rows into the var numberOfRows and likewise for
>> numberOfColumns.
>>
>> How can I quickly, preferrably all at once, read in the table?
>>
>> I assume I first need to create an array into which to put the data...
>>
>> ; create array for data
>> data = dblarr(numberOfRows, numberOfColumns)
>>
>> ; read it
>> ; ?
>>
>> Thanks,
>> Ed
>>
>>
>
>
> openr,1,filename
> readf,1,data
> close,1
>
>
> -bob
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: WTB: Used documentation for IDL, PV-WAVE.
Next Topic: Re: Random spherical distributions

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

Current Time: Fri Oct 10 13:59:31 PDT 2025

Total time taken to generate the page: 0.71929 seconds