Control of IDL_PATH search order? [message #1455] |
Tue, 05 October 1993 06:57 |
ryba
Messages: 33 Registered: October 1992
|
Member |
|
|
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? If I copy the routine to
my personal directory, which is in IDL_PATH first, then I get the one I
want. Otherwise, it's a crap shoot. I'd rather not rename the routine,
since I want other users to transparently reap the benefits of my
brilliance ;-).
--
Dr. Marty Ryba | Generation X:
MIT Lincoln Laboratory | Too young to be cynical,
ryba@ll.mit.edu | too old to be optimistic.
Of course nothing I say here is official policy, and Laboratory affiliation is
for identification purposes only, blah, blah, blah....
|
|
|