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

Home » Public Forums » archive » Re: Am I stupid?
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: Am I stupid? [message #25683 is a reply to message #25680] Wed, 11 July 2001 04:11 Go to previous messageGo to previous message
Jaco van Gorkom is currently offline  Jaco van Gorkom
Messages: 97
Registered: November 2000
Member
Paul van Delst wrote:
> Jaco van Gorkom wrote:
>> Craig Markwardt wrote:
>>> "Liam E. Gumley" <Liam.Gumley@ssec-nospam.wisc.edu> writes:
>>>> Colin Rosenthal wrote:
>>>> > ... to have a keyword AXISCOLOR in a routine that also accepts
>>>> > the AX keyword. ...
>>>> ...
>>>> "Keywords can be abbreviated to their shortest unique length"
>>>>
>>>> In your case, the keyword AX precludes the use of another keyword which
>>>> begins with the letters "AX". ...
>>>
>>> ... I want keywords like TIME, TIMEUNIT, TIMESTEP,
>>> and so on. My suggestion is that the above policy should hold,
>>> *unless* there is an exact match to a specific keyword.

On second reading, the documentation ("IDL> ? abbreviating keywords") exactly
describes Craig's suggestion. The full keyword TIME cannot be abbreviated to a
shorter unique length, whereas TIMESTEP can be abbreviated to the shortest
unique lenght TIMES. Nowhere in the documentation can I find the behaviour that
the keyword TIME may not be used, simply because... because... well, for no reason
at all actually. So I would consider this to be a bug, not a policy.

> It will make code harder to read and understand. Once you give your code to others, they
> may use it in other code with abbreviated keywords and not enough comments as to what they
> are doing.

I fully agree, *if* you are referring to the general (over-)use of keyword abbreviation.

> The current set up does not allow this.

Yes it does. That's what keyword abbreviation is all about.

>> So who is frustrated enough to put in a feature
>> request with RSI (/VNI?) for this, for the benefit of us all?
> I wonder if there is a way for me to write a little Perl script to automatically send in a
> Feature Un-Request whenever this Feature Request is emailed to RSI...... :o)

:-) . `Feature request' was the wrong wording. I should have said `bug report'.
Paul, would you take the honours? :-)

Cheers,
Jaco

----------------
Jaco van Gorkom gorkom@rijnh.nl
FOM-Instituut voor Plasmafysica `Rijnhuizen', The Netherlands
[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
Read Message
Read Message
Previous Topic: help with findfile
Next Topic: read input from a widget

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

Current Time: Wed Oct 08 16:52:07 PDT 2025

Total time taken to generate the page: 0.00367 seconds