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 #33018 is a reply to message #32920] Thu, 21 November 2002 00:27 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
David Fanning wrote:
> Folks,
>
> Does anyone know how to get the File_Which command to work?
> The documentation is, uh, typical.
>
> I have a file somewhere on my IDL path. It's name is "fire.clt".
> I'm in a directory NOT on my path (my home directory), but I
> would like to know where this file is.
>
> The documentation says that the first positional parameter
> is the "path", and the second is the "file" you are searching
> for. Then it says, if the "path" is missing, then the IDL
> path is used instead. But, wait, if the first positional
> parameter is "missing", isn't the "file" the first positional
> parameter!? Here is a new trick!
>
> In any case, File_Which is coming back to me with a
> empty string. Not what I had in mind? :-(
>
> Anyone figure this out?
>
> Thanks,
>
> David

If I search by file_which for a .pro file it works.

Reimar

--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
------------------------------------------------------------ -------
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
============================================================ =======
[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: Sun Oct 12 04:15:47 PDT 2025

Total time taken to generate the page: 0.80206 seconds