Home | Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]

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 !PATH system variable when the IDLDE starts.

Note
If you have set the environment variable IDL_PATH, IDL will set the !PATH system variable based the contents of the IDL_PATH environment variable at startup, overriding any settings made in this dialog. After IDL has started, however, you can modify the current value of the !PATH system variable using this dialog. See !PATH for additional details on how !PATH is set.

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 a single entry: <IDL_DEFAULT>, indicating that the default IDL path will be used. If the IDL_PATH environment variable is not set, when the IDLDE starts up, it will expand this token into the default value of the !PATH system variable. 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 Running IDL Programs 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.


Home | Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]