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

Home » Public Forums » archive » Re: Createing 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: Createing ASCII_TEMPLATE [message #11134] Mon, 02 March 1998 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Jeff (jeffe@fl.ensco.com) writes:

> I use the GUI to create an ASCII_TEMPLATE to read some simple
> Text files.
>
> Is there a way to save this template so the next time I bring
> up IDL I don't have to recreate the entire template again?

The easiest thing to do, I think, would be to SAVE the
template. Then, just RESTORE it when you want to use it.

myTemplate = ASCII_TEMPLATE(mydatafile)
Save, myTemplate, File='mytemplate.dat'

When you want to use it, type:

Restore, 'mytemplate.dat'
Help, myTemplate, /Structure

Cheers,

David
-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Previous Topic: working with restored values
Next Topic: Createing ASCII_TEMPLATE

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

Current Time: Fri Oct 10 01:42:16 PDT 2025

Total time taken to generate the page: 0.32208 seconds