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

Home » Public Forums » archive » Re: Nasty compatibility issue in lists and hashes (and maybe more?)
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: Nasty compatibility issue in lists and hashes (and maybe more?) [message #76305] Thu, 26 May 2011 09:29
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On May 25, 11:51 pm, Paulo Penteado <pp.pente...@gmail.com> wrote:
> After some time trying to figure out what was going on, I eventually
> found that the changes in some classes between 8.0.1 and 8.1 break
> compatibility of some savefiles, in both ways: not only 8.1 savefiles
> cause trouble when restored in 8.0.1, but also 8.0.1 savefiles cause
> trouble when restored in 8.1

It has been pointed out to me that this is one of the cases that can
be solved with restore's /relaxed_structure_assignment keyword (which
can suggestively be abbreviated as /relax). The classes are compatible
enough that restore can instantiate the native class and copy the data
fields by name.
Re: Nasty compatibility issue in lists and hashes (and maybe more?) [message #76306 is a reply to message #76305] Thu, 26 May 2011 09:23 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> Paulo Penteado writes:
>
>> After some time trying to figure out what was going on, I eventually
>> found that the changes in some classes between 8.0.1 and 8.1 break
>> compatibility of some savefiles, in both ways: not only 8.1 savefiles
>> cause trouble when restored in 8.0.1, but also 8.0.1 savefiles cause
>> trouble when restored in 8.1
>
> I have confirmed this is a problem on Windows computers, too.

I have been waiting for Paulo to fill you in on how this
problem can be resolved, but he appears to be out of his
office this morning. In the meantime, if you are interested,
I have posted an article on the topic.

http://www.idlcoyote.com/misc_tips/backsave.php

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Nasty compatibility issue in lists and hashes (and maybe more?) [message #76311 is a reply to message #76306] Thu, 26 May 2011 06:18 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Paulo Penteado writes:

> After some time trying to figure out what was going on, I eventually
> found that the changes in some classes between 8.0.1 and 8.1 break
> compatibility of some savefiles, in both ways: not only 8.1 savefiles
> cause trouble when restored in 8.0.1, but also 8.0.1 savefiles cause
> trouble when restored in 8.1

I have confirmed this is a problem on Windows computers, too.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: backward compatibility
Next Topic: rIDL command line replacement

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

Current Time: Wed Oct 08 15:21:18 PDT 2025

Total time taken to generate the page: 0.00567 seconds