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

Home » Public Forums » archive » File_Which What!?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: File_Which What!? [message #33008 is a reply to message #32920] Thu, 21 November 2002 09:46 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning (david@dfanning.com) writes:

> Humm, well, further tests this morning show that the file
> can be found if the directory containing it
> is *explicitly* on the path. That is, the directory
> is named specifically in File->Preferences->Path.
> If the directory containing the file is implicitly
> on the path (I.e., I have selected a check box for
> the parent directory in File->Preferences->Path)
> then the file can't be found.

OK, here is the *real* story from someone who
knows (not me). :-)

File_Which very sensibly does NOT search any
directory that does not contain either a .pro or
.sav file. (Why include directories on an IDL
search path that can't result in anything productive?
Slows everything down.)

In my case, I was looking for color table files (*.clt)
in a sub-directory with no *.pro files. If my color
table sub-directory is *explicitly* on the path, File_Which
will find the file as expected. Or, I can just put a dummy
PRO file in the directory as a locater file, and File_Which
will also find the correct file. Neat!

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Structure Pass By Reference?
Next Topic: Re: sec : U Re: De-sensitizing individual list elements

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

Current Time: Sat Oct 11 05:03:53 PDT 2025

Total time taken to generate the page: 0.16455 seconds