Previous IDL Interface Guide: Setting IDL Preferences Next

Path Preferences

This tab allows you to control where IDL looks for procedures and functions. The path elements specified in the Search Path / IDL Files Search Path are used to set the IDL_PATH preference and the !PATH system variable.

Figure 4-8: Path Preferences Dialog

Figure 4-8: Path Preferences Dialog


Note
Some preference settings may be desensitized. See Unavailable Preferences for details.

Search Path / IDL Files Search Path

The IDLDE Path Preferences dialog uses the same mechanism to expand the elements of the Search Path field as is used by the EXPAND_PATH function. By default, this field is populated with the current value of the IDL_PATH preference. For more information, see IDL Preferences.


Note
If you have not changed the value of the IDL_PATH preference, it contains a single entry (<IDL_DEFAULT>) indicating that the default IDL path will be used. See The Path Definition String under EXPAND_PATH for complete details on how this token is expanded.

If the box to the left of a path element is checked, all directories below the listed directory that contain at least one .pro or .sav file will be included in !PATH. (This mechanism is analogous to the use of a "+" symbol in an EXPAND_PATH path definition string.)


Note
If the <IDL_DEFAULT> entry is present, the box to its left is both checked and greyed out (Windows) or completely blacked out (Motif), indicating that the token will always be expanded.

You can modify the value of the !PATH system variable in the following ways using this dialog:

See Automatic Compilation for more information on how !PATH is used by IDL when compiling and running programs.

Enable Path Cache

Select Enable Path Cache to enable IDL's path caching mechanism. Path caching is enabled by default, and in almost all cases should be left enabled. See PATH_CACHE for more information about IDL's path cache.

This control sets the value of the IDL_PATH_CACHE_DISABLE preference. For more information, see IDL Preferences.

  IDL Online Help (March 06, 2007)