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

Home » Public Forums » archive » Re: .Reset_Session in a script
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: .Reset_Session in a script [message #48972 is a reply to message #48970] Tue, 06 June 2006 13:15 Go to previous messageGo to previous message
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
toddbranch wrote:
> I have written a script to automatically run all of my data sets
> through my program. In my program, I define a few structures. I
> usually run the command .reset_session in between runs of my data
> because IDL gets mad because my code redefines the same structure. IDL
> won't let me run the .reset_session command in my script. Any ideas?

By "script", do you mean a regular procedure? I know that you can do
.reset_session in a batch file (which you run by @filename).

Plus, if you redefine the structure all the time, why use a named
structure? If you use an unnamed structure, you can redefine it as often
as you want.

Happy programming,
Benjamin
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL and the RAM memory
Next Topic: IDLgrLegend and ENABLE_FORMATTING

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

Current Time: Fri Oct 10 15:10:36 PDT 2025

Total time taken to generate the page: 0.55776 seconds