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 #36015 is a reply to message #35824] Mon, 04 August 2003 07:12 Go to previous messageGo to previous message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
"David Fanning" <david@dfanning.com> wrote in message
news:MPG.199812f73a1727159896c4@news.frii.com...
> R.G. Stockwell writes:
>
>> If the operating system allows case sensitive filenames, then IDL should
>> be able to work with them.
>
> Have you thought about how this would work? If your
> filename has 16 characters in it (and probably
> includes spaces, too, sigh...), then you would
> have to check !16 different variations on the
> filename to make sure you found it. The up
> side is that you would have time to go get
> a cup of coffee every time you performed an
> interaction with the operating system. :-)
>
> Cheers,
>
> David

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.

Or, just search for the name with the case given in IDL, I don't see why
that
would make any difference. Of course, I would immediately change all my
filenames to be capital variations of IDL_PROGRAM.
For instance, if you want my power spectrum program, you would type:
IDL> spectrum = Idl_PrOGRam(timeseries)
whereas my interpolation routine would be
IDL> interped = Idl_PROgRaM(timeseries)

That would work nicely with my policy of making all variable names from
different
lengths of the underline character, eg
IDL> __ = 8*4
IDL> _____ = __^2

IDL> help, _____ , __
_____ INT = 1024
__ INT = 32


:)

Cheers,
bob

PS talk about job security
[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: Wed Oct 08 18:22:00 PDT 2025

Total time taken to generate the page: 0.00196 seconds