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 #32990 is a reply to message #32920] Fri, 22 November 2002 06:41 Go to previous messageGo to previous message
Jaco van Gorkom is currently offline  Jaco van Gorkom
Messages: 97
Registered: November 2000
Member
"David Fanning" <david@dfanning.com> wrote in message news:MPG.184759add416747d989a42@news.frii.com...
> Mark Hadfield (m.hadfield@niwa.co.nz) writes:
>
>> This would be sensible, *if* FILE_WHICH was to be used only to search for
>> .pro or .sav files. There is nothing in the documentation that says this is
>> the case, and I (and David) have used it to search for files with other
>> extensions. I'm just glad it was David who got tripped up by the hidden
>> gotcha. (Not that I'm not sympathetic, David, but...)
>
> Well, maybe there should be an EVERYDARNONE keyword,
> to force it to search everything. Now that I think
> about it, why would you have files on your path that
> you didn't want to search? Maybe I'll revisit this
> with my source. :-)

Why are you using FILE_WHICH to *search* for files in the first
place? FILE_SEARCH (or FINDFILE) would seem a better candidate.
Anyway, FILE_WHICH should tell you exactly *which* file IDL would
find, if it should ever go looking for a fire.clt file on its path.
Directories without .pro or .sav files (at IDL startup time!!)
simply are not included in the IDL path, states the Help for !PATH.

sympathetically yours,
Jaco

PS: As I started using IDL, I frequently ran into problems that
I could only solve by exiting and restarting IDL. Later I
discovered many of the reasons, and this was one of them.
[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 00:33:39 PDT 2025

Total time taken to generate the page: 0.63866 seconds