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

Home » Public Forums » archive » ascii_template
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 [message #21072 is a reply to message #20978] Thu, 03 August 2000 00:00 Go to previous messageGo to previous message
Luis Alonso is currently offline  Luis Alonso
Messages: 27
Registered: February 2000
Junior Member
>> I hear in the old world, they turn the on-line help
>> off at 5PM. :-(
>>
>> Try this:
>>
>> mytemplate = ASCII_TEMPLATE("mydatafile.dat")
>> FOR j=0,zillion-1 DO BEGIN
>> data[j] = READ_ASCII(TEMPLATE=mytemplate, datafile[j])
>> ENDFOR

here we go again... my great great great problem always is to make myself
clear (and I rarely suceed).
Of course the problem was to reuse that template some other day...

> And furthermore, if you wanted to save that template in a file, you
> could just do:
> save, filename='mytemplate.idl', mytemplate
> and to get it back some other day:
> restore, 'mytemplate.idl'

thanks, that's what i wanted...

just for your info, i'm the kind that when getting a new toy just starts
playing with it... so i gess i just skipped some basics from the handbook,
do i?

By the way, Paul, what you just pointed drove me nuts when i first put my
hands on IDL some time ago ;)

Thanks, guys

Luis Alonso
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Top 10 IDL Requests ... python
Next Topic: Simple number formatting problem

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

Current Time: Fri Oct 10 21:01:36 PDT 2025

Total time taken to generate the page: 1.04431 seconds