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
File_Which What!? [message #32920] Wed, 20 November 2002 20:28 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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
--
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: Wed Oct 08 17:26:36 PDT 2025

Total time taken to generate the page: 0.00431 seconds