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

Home » Public Forums » archive » Re: more SAVE problems
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: more SAVE problems [message #48465] Mon, 24 April 2006 05:33
Liberum is currently offline  Liberum
Messages: 48
Registered: September 2005
Member
Thanks Reimar,

I found out that /all is not good but I don't know why.
I simply did as you said and saved only one variable and it worked.

/Sheldon
Re: more SAVE problems [message #48467 is a reply to message #48465] Mon, 24 April 2006 00:37 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Sheldon wrote:

> I have searched my entire directory with the function:
> find . -name "*.sav"
> and I the file is nowhere to be found.
> It was never created because I used the Restore function and tried to
> find it and it failed.
> I pressume that there is no problem with the code as far as you can
> see?
>
> Sheldon

hi Sheldon

if you set the keyword /all you do not need to set the /variables keyword
too. And btw. it is not good to save always /all.

Try at first something like this

a=10
save, file='example.sav',a

.reset_session
help,a
restore,file='example.sav'
help,a

cheers
Reimar
Re: more SAVE problems [message #48475 is a reply to message #48467] Fri, 21 April 2006 12:05 Go to previous message
Liberum is currently offline  Liberum
Messages: 48
Registered: September 2005
Member
I have searched my entire directory with the function:
find . -name "*.sav"
and I the file is nowhere to be found.
It was never created because I used the Restore function and tried to
find it and it failed.
I pressume that there is no problem with the code as far as you can
see?

Sheldon
Re: more SAVE problems [message #48476 is a reply to message #48475] Fri, 21 April 2006 11:38 Go to previous message
Jean[1] is currently offline  Jean[1]
Messages: 8
Registered: November 2005
Junior Member
Sheldon wrote:
> Hi All,
>
> I am using IDL6.2 on a Linux machine.
> I am having problems with the following save command:
>
> str = "path" + "filename.sav"


print, str
--> pathfilename.sav

look for this file on your computer!
In my case (windows, idl 6.2), it saves it on the userName/My Documents/
folder (which is not set in the !path)

Jean

>
> SAVE, /ALL, /VARIABLES, FILENAME=str
>
> But when I look in the directory given in path, there is no saved file.
>
> THis is an example taken straight from the book.
>
> What is wrong?
>
> Any help will be greatly appreciated.
>
> Sincerely,
> Sheldon
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: antialias object graphics
Next Topic: Endianness (was Re: XSTRETCH and Library Lessons)

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

Current Time: Wed Oct 08 13:38:00 PDT 2025

Total time taken to generate the page: 0.00839 seconds