[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IDLv5.4 (SAVE bug?)
In article <MPG.email@example.com>,
firstname.lastname@example.org (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 email@example.com
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 Version 5.3 (sunos sparc). (c) 1999, Research Systems, Inc.
% 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.
A UNDEFINED = <Undefined>
Sent via Deja.com