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

Home » Public Forums » archive » Re: IDLv5.4 (SAVE bug?)
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: IDLv5.4 (SAVE bug?) [message #23051] Wed, 27 December 2000 11:06
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Wayne Landsman (landsman@my-deja.com) writes:

> I think the problem is more fundamental than this. Here is an example
> where I cannot restore a single scalar variable saved in V5.4, if I use
> V5.3 on the same (Solaris) machine.
>
> I presume this is a bug in IDL V5.4 (and another reason to hold off
> until V5.4.1?) If the save file format has changed, then presumably
> there should be an /OLD keyword to allow one to write variables that can
> be read by earlier versions of IDL.

I think you are right, Wayne. I confirm this behavior
on my Windows NT machine. I know that the people who
work on this are adamant that saved data files be
backwards compatible. This certainly looks like a bug
to me.

Do you have plans to confirm this with RSI?

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: IDLv5.4 (SAVE bug?) [message #23053 is a reply to message #23051] Wed, 27 December 2000 09:13 Go to previous message
landsman is currently offline  landsman
Messages: 93
Registered: August 1991
Member
In article <MPG.14b3bd1a7e5de2f1989cd3@news.frii.com>,
davidf@dfanning.com (David Fanning) wrote:
> Saved data should definitely be compatible. If structure
> definitions change from one version to another, there
> could be minor problems. Have you tried setting the
> RELAXED_STRUCTURE_DEFINITION keyword when you restore?

I think the problem is more fundamental than this. Here is an example
where I cannot restore a single scalar variable saved in V5.4, if I use
V5.3 on the same (Solaris) machine.

I presume this is a bug in IDL V5.4 (and another reason to hold off
until V5.4.1?) If the save file format has changed, then presumably
there should be an /OLD keyword to allow one to write variables that can
be read by earlier versions of IDL.

--Wayne Landsman landsman@mpb.gsfc.nassa.gov

mpb{landsman}172: idl
IDL Version 5.4 (sunos sparc). (c) 2000, Research Systems, Inc.
IDL> a =3
IDL> save,a, /verbose
% SAVE: Portable (XDR) SAVE/RESTORE file.
% SAVE: Saved variable: A.
IDL> exit

mpb{landsman}924: idl53
IDL Version 5.3 (sunos sparc). (c) 1999, Research Systems, Inc.

IDL> restore,/ver
% RESTORE: Portable (XDR) SAVE/RESTORE file.
% RESTORE: Save file written by landsman@mpb, Wed Dec 27 12:02:16 2000.
% RESTORE: IDL version 5.4 (sunos, sparc).
% RESTORE: Unexpected item code found in save file.
IDL> help,a
A UNDEFINED = <Undefined>


Sent via Deja.com
http://www.deja.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Label_Region
Next Topic: Color Flashing in IDL on Linux

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

Current Time: Fri Oct 10 20:22:46 PDT 2025

Total time taken to generate the page: 0.16268 seconds