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

Home » Public Forums » archive » capital letters in file names?
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: capital letters in file names? [message #56877 is a reply to message #56789] Sat, 17 November 2007 10:12 Go to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Nov 16, 6:11 pm, "jdm...@gmail.com" <jdm...@gmail.com> wrote:
> Hello,
>
> Is anyone aware of there being an issue with IDL recognizing .pro
> files in a directory as being associated with IDL if there are capital
> letters in the file name? I got a lot of "Variable is undefined"
> messages when I tried to use functions I had written within other
> programs. This even occurred when I had already compiled those
> functions. On a couple of occasions, if I restarted IDL and compiled
> everything right at the start, it worked, but on some occasions it did
> not. Finally, I removed all capital letters from filenames, and
> everything has run a couple of times without issues. Is it just the
> capital letters (in which case I will just avoid that in the future)
> or is there another issue?
>
> Thanks,
> James

You should tell us what OS you are using.

If you are using a *nix OS and you do, say, .comp test, IDL will look
for test.pro which must contain a procedure or function called
"test" (same capitalization). If the file name is Test.pro and the
procedure in it is "test", then you call "Test", IDL will compile
Test.pro creating a procedure called "test", but it won't be able to
find "Test"

Clear as mud?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Is it possible to draw 2 plots in the same IDLgrPLot object ?
Next Topic: Using IDL shell in crontab

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

Current Time: Wed Dec 03 01:49:23 PST 2025

Total time taken to generate the page: 0.24379 seconds