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 #33012 is a reply to message #32920] Thu, 21 November 2002 06:04 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Nigel Wade (nmw@ion.le.ac.uk) writes:

> It works here, with IDL 5.5 on IRIX. (I created a file called "fire.clt" at
> some location in the IDL path and FILE_WHICH found it ok). Looking at the
> source, FILE_WHICH uses FILE_TEST to test for the file. It loops through
> each directory in the path testing for the file in that directory until it
> either succeeds or runs out of entries in the path. Does FILE_TEST indicate
> success if you use that with the full path?

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.

Bummer. :-(

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: Fri Oct 10 01:18:06 PDT 2025

Total time taken to generate the page: 0.48064 seconds