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

Home » Public Forums » archive » Help on text data
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Help on text data [message #72302] Tue, 24 August 2010 04:51
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
Folks
I am reading some text data (I don’t know how many) like this:
pathName="d:\p\"
List = findfile(pathName+"*.dat")
nosFiles=N_ELEMENTS(List)
data = ptrarr(nosFiles)
for i = 0, nosFiles - 1 do begin
x=read_ascii(list[i])
data[i] = ptr_new(x)
endfor
I want to put this data in a string like this:
names = ['data[0]', ' data[1]', ' data[2]',…] to proceed David’s
name_selctor.
I do not know how to do that.
Any help highly would be appreciated
Cheers,
Dave
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Open webpage
Next Topic: Warning: IDL 8.0 alters the behaviour of existing valid programs without any notice!

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

Current Time: Wed Oct 08 11:39:22 PDT 2025

Total time taken to generate the page: 0.00411 seconds