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

Home » Public Forums » archive » 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
Reading a table of data quickly [message #34151] Tue, 25 February 2003 07:14
CelticBlues is currently offline  CelticBlues
Messages: 10
Registered: February 2003
Junior Member
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
[Message index]
 
Read Message
Previous Topic: 3d graphics
Next Topic: X11 0.2.1,OpenGL and IDL object Graphics

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

Current Time: Fri Oct 10 14:31:53 PDT 2025

Total time taken to generate the page: 0.88521 seconds