comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Control of IDL_PATH search order?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Control of IDL_PATH search order? [message #1401] Tue, 05 October 1993 13:43
hadfield is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: pvwave & hdf
Next Topic: String to MS-Windows Clipboard

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:46:34 PDT 2025

Total time taken to generate the page: 0.00580 seconds