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

Home » Public Forums » archive » Who's up for breaking IDL?
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: Who's up for breaking IDL? [message #36010 is a reply to message #35824] Mon, 04 August 2003 08:39 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"R.G. Stockwell" <noemail@please.com> writes:
> Yeah, it'd be a pain. What I'd do if I was IDL is strupcase all the
> filenames from
> the OS then search, and report an error if you ended up with more than one
> filename.
> You would have to do something like to maintain platform independence.

You are making an assumption of how the IDL path searching ability
works. It is quite possible that it does *not* work by retrieving
"all the filenames" from the path. Also, your proposal would require
IDL to have within it, filename comparison code, which presumably is
exactly what the OS does well, not client programs. Windows is
distinct in that it *stores* file names with case sensitivity, but
*compares* them without case sensitivity. Unix perserves case for
both storage and comparison.

> Or, just search for the name with the case given in IDL, I don't see why
> that
> would make any difference.

The IDL language disregards all upper and lower cases. The IDL
astronomy library uses a lot of UPPER CASE, but I use "lower case,"
and then there are people who use MixedCase. It would be pretty much
unacceptable at this date to change the requirement on case
sensitivity for IDL programs.

Nit pickily yours,
Craig


--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[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
Read Message
Read Message
Previous Topic: Re: Who's up for breaking IDL?
Next Topic: Importing data to iTool Data manager from the command line

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

Current Time: Thu Oct 09 21:54:12 PDT 2025

Total time taken to generate the page: 0.55792 seconds