SAVEFILE_CLEANUP
The SAVEFILE_ CLEANUP procedure inspects the given routine save file and removes any routines that could cause problems in modern IDL. Starting in IDL 8.8, some functions and classes have been ported from PRO code in the lib folder to C/C++ code, to improve performance. Restoring a save file from an older version of IDL that contains the non-class routines will have no effect, other than increasing the save file size. Restoring a save file from an older version of IDL that contains any of the class routines will make them supersede the intrinsic versions, which will revert performance at best and cause instabilities at worst.
Routines that will be removed, below, provides the list of routines that will be removed during cleanup.
Syntax
SAVEFILE_CLEANUP,filename [, /VERBOSE]
Arguments
filename
A scalar string filename to the save file to be cleaned and updated. The original file will be renamed with a .bak extension, and replaced with the new save file.
Keywords
VERBOSE
Set this keyword to print an information message for each routine removed.
Routines that will be removed
Routine Name |
Ported in IDL Version |
---|---|
8.8 |
|
COLLECTION class |
8.8.1 |
DICTIONARY() function and class |
8.8.1 |
HASH() function and class |
8.8.1 |
LIST() function and class |
8.8.1 |
ORDEREDHASH() function and class |
8.8.1 |
Version History
8.8.1 |
Introduced |