Hi everyone,
I will re-open this thread since I have the same problem as I reported before before but between 2 different IDL versions:
SAV file created with IDL 9.0
restore, sav_file
help
% At $MAIN$
RES ORDEREDHASH <ID=3 NELEMENTS=578>
print, !version.release
9.0.0
The same SAV file cannot be restored with IDL 8.7
restore, sav_file, /relaxed
...
% RESTORE: Recovering incompatible definition of structure ORDEREDHASH using relaxed structure assignment rules.
% RESTORE: Recovering incompatible definition of structure HASH using relaxed structure assignment rules.
% RESTORE: Restored variable: RES.
% At $MAIN$
RES ORDEREDHASH <ID=3 NELEMENTS=0>
print, !version.release
8.7.0
I've found the following comment on the IDL documentation page:
Restoring a save file from previous versions of IDL will replace those
definitions, destabilizing IDL. Use the SAVEFILE_CLEANUP routine to
purge the ported routines from your save file to avoid this. Calling
RESTORE with the /VERBOSE keyword will list all the symbols being
restored, to help identify which save file needs to be cleaned up.
Is there a way to make this work?
Thanks,
B