|
|
|
Re: Procedure names must be lowercase on Linux for auto-compile? [message #44068 is a reply to message #44066] |
Sun, 15 May 2005 17:25  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Kenneth P. Bowman writes:
> But he said he is using OS X, which is case insensitive.
>
> This works fine for me on OS X
>
> IDL> .r test1234
> % Compiled module: TEST1234.
>
> where the file is named "TEST1234.pro".
Yes, I would expect that, but the test is this:
IDL> test1234
Does that work? (Starting in a fresh IDL session, of course.)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
|
|
Re: Procedure names must be lowercase on Linux for auto-compile? [message #44077 is a reply to message #44076] |
Sat, 14 May 2005 14:08  |
Kenneth P. Bowman
Messages: 585 Registered: May 2000
|
Senior Member |
|
|
In article <1116083122.600805.48450@g47g2000cwa.googlegroups.com>,
"wcramer" <wcramer@fit.edu> wrote:
> I was running into problems with auto-compilation of procedures and
> narrowed down the source of the problem to the filename/procedure name.
> I have two functions that are identical except for the filename and
> procedure name (one is isScalar, the other is is_scalar). The filenames
> match the function name and both files are located in the same
> directory, but only is_scalar will auto-compile when referenced.
>
> Am I correct in my diagnosis of the problem? Is this documented
> anywhere? Does this have something to do with the fact that I'm running
> on Linux (MAC OS X)?
FWIW, OS X is based on FreeBSD, not Linux.
Mac HFS+ filesystems under OS X 10.3 are case preserving, but not case
sensitive. OS X 10.4 offers the option of creating case-sensitive
filesystems.
Different operating systems have different rules for handling case, so
it is always a good idea to use only lower case for file names. That
makes it a lot easier to move IDL source files.
That said, I don't understand why IDL won't find your file.
Ken Bowman
|
|
|
Re: Procedure names must be lowercase on Linux for auto-compile? [message #44078 is a reply to message #44077] |
Sat, 14 May 2005 08:53  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
wcramer writes:
> I was running into problems with auto-compilation of procedures and
> narrowed down the source of the problem to the filename/procedure name.
> I have two functions that are identical except for the filename and
> procedure name (one is isScalar, the other is is_scalar). The filenames
> match the function name and both files are located in the same
> directory, but only is_scalar will auto-compile when referenced.
>
> Am I correct in my diagnosis of the problem? Is this documented
> anywhere? Does this have something to do with the fact that I'm running
> on Linux (MAC OS X)?
You are correct in your diagnosis. I'm sure it is
documented *somewhere*. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|