PREF_MIGRATE
The PREF_MIGRATE procedure is used to import IDL user preferences from other versions of IDL for use by the currently running version. Under Microsoft Windows, it is also used to import workbench macros.
IDL user preferences are maintained on a per-release basis, meaning that a different user preference file exists for each version of IDL you use on your system. When you first use a new version of IDL, it is common to want to carry over the preference settings you were using with the previous version of IDL. The PREF_MIGRATE procedure exists to help you with this migration. You can run it at any time. In addition, each new version of IDL runs it once the first time you run that version if you have migratable preferences from other versions of IDL on your system.
Note
Beginning with IDL 7.0, PREF_MIGRATE is no longer called automatically the first time IDL is run. You can still use PREF_MIGRATE to manually migrate IDL system preferences. IDL Workbench preferences an managed separately, by the workbench itself. For more on the difference between system and workbench preferences, see About IDL System Preferences.
This routine is written in the IDL language. Its source code can be found in the file pref_migrate.pro in the lib subdirectory of the IDL distribution.
Syntax
PREF_MIGRATE [, /PREFERENCE]
Arguments
None
Keywords
PREFERENCE
If this keyword is set, the migration process migrates only workbench preferences and not macros. This option has meaning only under Microsoft Windows. It is quietly ignored on other platforms.
Version History
See Also
PREF_COMMIT, PREF_GET, PREF_SET, IDL System Preferences