Re: How do I get IDL to see that my procedure exists? [message #12749 is a reply to message #12690] |
Fri, 04 September 1998 00:00  |
mallors
Messages: 76 Registered: November 1997
|
Member |
|
|
In article <MPG.10576deb16a589f598968d@news.frii.com>,
davidf@dfanning.com (David Fanning) writes:
> Bruce Bowler (bbowler@bigelow.org) writes:
>
>> I wrote an IDL procedure to do what I want. I put it in a directory
>> called /usr/users/Bowler/idl and called it anyData.pro. The first line
>> of the file is
>> .
>> .
>> .
>
> Well, Sir, you are working on an operating system that is
> case sensitive. Thus the file "anyData.pro" is different from
> a file named "anydata.pro". As it happens, when you type a
> name of a procedure at the IDL command line:
>
> IDL> junk
>
> and IDL has to go looking for a file with that name
> (ie. junk.pro), it *always* looks for files with
> lowercase names.
>
> Name your file "anydata.pro" and you will be in business.
>
I also ran across this with automatic object/struct
definitions. It seems to me to be an unneccessary limitation
that one must name an object something like
objwithlongname__define.pro
instead of
objWithLongName__define.pro
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
Robert S. Mallozzi 256-544-0887
Mail Code ES 84
Work: http://crazyhorse.msfc.nasa.gov/ Marshall Space Flight Center
Play: http://cspar.uah.edu/~mallozzir/ Huntsville, AL 35812
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
|
|
|