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

Home » Public Forums » archive » SAVE
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
SAVE [message #70886] Thu, 13 May 2010 13:05 Go to previous message
fgg is currently offline  fgg
Messages: 67
Registered: April 2010
Member
Hi there,

I'm running a procedure that has lines in it such as:

(Scope_VarFetch('data', LEVEL=1, /ENTER)) = 1

... that are used to save variables to the main IDL level. I'd like to
add a line at the end of this procedure to make it save all variables
that were created in a *.sav file. Something like this:

save, /variables, filename= '/Users/xxx/Desktop/example.sav'

... but it's not working. I'm getting in the *.sav file all other
variables defined in the procedure, but the ones created using
Scope_VarFetch. Any suggestions?

PS: if I run the procedure first (without the save line in it) and
then type the save line at the IDL prompt I get exactly what I want.
Just wanted to know if it's possible to automate this process.

Thank you!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can I open an ENVI Vector File (EVF) in batch mode?
Next Topic: LEGEND and Symcat - part 2

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

Current Time: Wed Oct 08 15:32:56 PDT 2025

Total time taken to generate the page: 0.00399 seconds