Home »
Public Forums »
archive »
Re: Control of IDL_PATH search order?
Re: Control of IDL_PATH search order? [message #1401] |
Tue, 05 October 1993 13:43 |
hadfield
Messages: 11 Registered: October 1993
|
Junior Member |
|
|
In article <1993Oct5.135738.22856@ll.mit.edu> ryba@ll.mit.edu (Marty Ryba) writes:
> Does anyone have any suggestions on how to control IDL/PV-Wave's search
> order for the libraries? In our IDL hierarchy, there is the USERLIB set
> of routines, and also a LOCAL set. I a couple cases, I've slightly altered
> a USERLIB routine (like ERRPLOT, I added a color keyword) and placed it
> in the adjacent LOCAL directory
> /usr/local/idl/lib:
> demo/ local/ statlib/ userlib/ widgets/ xdemo/
> Of course I use IDL_PATH with +/usr/local/idl/lib to include the whole thing.
> How can I get IDL to check local before userlib?
Try setting IDL_PATH to +/usr/local/idl/lib/local;+/usr/local/idl/lib.
(The "+" in front of the first one is in case it you add any subdirectories
to it.)
I do this on my IDL/Windows system (where the search order is controlled by a
PATH setting in IDL.INI) and IDL appears to construct a !PATH system variable
in which the local subdirectory occurs only once, at the start.
============================================================ ===========
Mark Hadfield NIWA Oceanographic (Taihoro Nukurangi)
hadfield@storm.greta.cri.nz Wellington, New Zealand
|
|
|
Current Time: Wed Oct 08 13:46:34 PDT 2025
Total time taken to generate the page: 0.00580 seconds