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 
Return to the default flat view Create a new topic Submit Reply
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/
[Message index]
 
Read Message
Read Message
Previous Topic: Label_Region
Next Topic: Color Flashing in IDL on Linux

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

Current Time: Sat Oct 11 09:30:15 PDT 2025

Total time taken to generate the page: 0.80095 seconds