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

Home » Public Forums » archive » Read these data in structure
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Read these data in structure [message #71802] Wed, 21 July 2010 06:33
a.mozafari1211 is currently offline  a.mozafari1211
Messages: 16
Registered: February 2009
Junior Member
Folks
I have a question:
I have some *.dat files (it is changing each time and I do not know
how many I have) and also rows and columns of *.dat files are
different. I want to read these data in structure. I tried something
like this:
pro read_several_files
path="d:\p\"
List = findfile(path+"*.dat")
no=N_ELEMENTS(List)
info={info:ptr_new(/allocate_heap)}
for i = 0, no-1 do info.info=read_ascii(list[i])
……
What I need is at the final I get structure that I can access my data.
Data1=…
Data2=….
…..
Any Help?
[Message index]
 
Read Message
Previous Topic: Stop and return to caller
Next Topic: Decomposing a bit field?

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

Current Time: Wed Oct 08 18:04:16 PDT 2025

Total time taken to generate the page: 0.00652 seconds