Re: Problem running functions [message #85848 is a reply to message #85847] |
Fri, 13 September 2013 18:09   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
laura.hike@gmail.com writes:
> It took a bit of figuring out because I found more than one possible syntax on the web, but I added
>
> setenv IDL_PATH":$HOME/shdom/idl"
>
> to my .cshrc file and now everything seems to work. (It took a while to figure out how to do that without wiping out the default path. Using the quotation marks with the colon wasn't obvious.)
The only downside to this approach is that you don't always know in
which order your directories are on your IDL path, and sometimes that
matters. I tend to add "project" directories individually, so I can move
them around as needed. This, of course, is trivial if you set the IDL
path in the IDL Workbench, since arrow buttons do the job of moving
directories around and getting them in the right order for you.
Otherwise, light editing of your .cshrc or IDL start-up file works, too.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|