comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Q: routine name case sensitivity on unix
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: Q: routine name case sensitivity on unix [message #17478 is a reply to message #17477] Fri, 22 October 1999 00:00 Go to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
Mirko Vukovic <mvukovic@taz.telusa.com> writes:

> I wrote a bunch of routines on windows that a fellow is trying
> to run on unix. It seems (according to him), that if
> IDL encounters an un-compiled routine, it tries to find it,
> but then the case has to match. That can be a problem if
> the code refers to routine Xyz, which is stored in XYZ.pro. It seems
> that Unix (I think he is on Linux) machines cannot make the connection
> between the two.

That's almost correct. IDL doesn't actually pay attention to the case used in
an IDL statement. Routine Xyz can also be referred to as xyz, XYZ, xYz, etc.
When it's looking for this routine in the path, it always assumes that the
routine is stored in a file with all lowercase characters, i.e. "xyz.pro".
On the Unix machine, simply change all your filenames to lowercase, and you
should be all set.

The only practical way to compile a routine stored in a mixed case filename is
to use .run which is case-sensitive, e.g. ".run XYZ.pro".

William Thompson
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: GIF89a support in IDL
Next Topic: Z-Buffer

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 21:06:05 PDT 2025

Total time taken to generate the page: 1.75988 seconds