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 #48970 is a reply to message #48950] Tue, 06 June 2006 13:31 Go to previous messageGo to previous message
toddbranch is currently offline  toddbranch
Messages: 4
Registered: June 2006
Junior Member
Thanks everyone for your quick responses. I was using a script
(@script), but I wanted to use the .reset_session command many times.
Here was a piece of my code:

for i=0, size(int_arr, /n_elements)-1 do begin .reset_session &
map_to_geo & endfor

So, the .reset_session command could be used in the script, just not
within an IDL statement. It would have worked if I only wanted to
reset the session once.

I just realized that all of my structures were named, so this problem
can be solved if I just make all of my structures anonymous.

OK, I made all the structure anonymous and I am running the code right
now.......

And it works!

Thanks for the help everyone,
Branch
[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 14:53:05 PDT 2025

Total time taken to generate the page: 0.95848 seconds