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

Home » Public Forums » archive » Re: ascii_template advanced
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: ascii_template advanced [message #50017 is a reply to message #50015] Thu, 07 September 2006 06:40 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
maye writes:

> The problem I have with the ascii_template/read_ascii combination is
> really the unknown amount of comment lines at the beginning plus the
> fact that I want to read the header line in AFTER those unknown amount
> of lines.
> Because the template let's me ignore the comment lines, but then the
> first line of my data structure will contain the variable names.
> Also, when I use the DATA_START keyword of read_ascii, it counts again
> from the beginning of the file, not from where I already defined the
> data to be of value (meaning withOUT the comment lines).
> If it would work like that, I could define the template to ignore
> comment lines, and then skip one extra line at the read_ascii command,
> using it for the HEADER keyword to read in the variable names. Would it
> not make more sense if things work like that?
> I hope I made myself clear? :-/ By the way, if somebody wonders: I want
> the variables names for a GUI to be clickable. ;)
> Does anybody have a solution for this?

I don't have a solution, but I'm certain there must
be one, since I've never had to use READ_ASCII in
20+ years of IDL programming. Perhaps you have to
write a program. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui.
(Opata Indian saying, meaning "Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: READS, input, struct vs. READS, input, var1,var2, etc.
Next Topic: Re: IDLVM and retall

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

Current Time: Fri Oct 10 10:01:18 PDT 2025

Total time taken to generate the page: 1.43983 seconds