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

Home » Public Forums » archive » IDL Limits
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: IDL limits [message #12461 is a reply to message #4790] Mon, 03 August 1998 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Dick French writes in response to Bob Mallozzi:

> Robert - One limit that I have run up against and can't find
> documentation for relates to KEYWORD names. I tried to define
> keywords XMIN_ABSOLUTE and XMIN_RELATIVE, say, and got
> an error message about ambiguous keyword definitions. Can someone point
> me to the documentation on unique keyword recognition? I have gotten
> around this by using different names, but it would be nice to
> know the rules of the game!

Dick, your description of the problem seems highly unlikely.
If you had defined a procedure with these two keywords, like
this:

PRO JUNK, XMIN_Absolute=absolute, XMIN_Relative=relative

there would be absolutely (pun intended) no problem. Where
you MIGHT run into a problem is if you called the procedure
like this:

JUNK, XMIN=5

In this case, you WOULD get an error message about ambiguous
keyword definitions because IDL would not have enough letters
to distinguish between the two keywords in the "keyword table"
that gets created when the procedure is compiled. You must
use enough keyword letters in the keyword name to identify that
keyword unambiguously.

For example, if you had named the keywords Absolute_XMin and
Relative_XMin, you could call the procedure like this:

JUNK, A=5

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: WIDGET_BASE resizing problem
Next Topic: Re: tvscl smoothing

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

Current Time: Sat Nov 29 10:54:09 PST 2025

Total time taken to generate the page: 0.40379 seconds