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 #25676 is a reply to message #25675] Wed, 11 July 2001 09:48 Go to previous messageGo to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
Paul van Delst wrote:
...
>> 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.
>
> Umm, I haven't had my requisite 4 cups of coffee yet this morning so I may be fading in
> and out here, but if you specify a keyword TIME=something, how is the interpreter supposed
> to know if you are specifying TIME, TIMEUNIT abrreviated to "TIME", or TIMESTEP
> abbreviated to "TIME"? My initial fix would be to rename TIME to TIMEVALUE and stick an
> easy to see comment somewhere in the header warning users about abbreviating these
> keywords too much.

It would know that TIME cannot be an abbreviated keyword, because it's
too short to be unique. Therefore, it must be the full keyword.
[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: Sun Oct 12 17:07:58 PDT 2025

Total time taken to generate the page: 0.96325 seconds