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 
Switch to threaded view of this topic Create a new topic Submit Reply
IDL Limits [message #4790] Tue, 25 July 1995 00:00 Go to next message
mallozzi is currently offline  mallozzi
Messages: 60
Registered: August 1994
Member
Reading some recent posts about IDL limits, here is a list off the
top of my head. Please post any additions or corrections.

IDL limits:
local variables <236 (?)
common block variables <64
pro/function parameters <64
CALL_EXTERNAL parameters <64
structure tags <126 (?)
variables (v3.5.1 & earlier) <16 characters
pro/func names (?)


-Bob
mallozzi@ssl.msfc.nasa.gov
Re: IDL limits [message #12459 is a reply to message #4790] Tue, 04 August 1998 00:00 Go to previous message
mirko_vukovic is currently offline  mirko_vukovic
Messages: 50
Registered: January 1998
Member
In article <35C63C37.C3103D4B@wellesley.edu>,
rfrench@mediaone.net wrote:
> Robert S. Mallozzi wrote:
>>
>> Hi all,
> stuff deleted
>
> 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 French
>

I usually get an error message under those circumstances when I forget about
the two similar keywords, and then call the routine with Xmin=... . Thus, are
you sure that you are calling the routine and specifying unambiguously (that
hurt) the keywords?

mirko

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
Re: IDL limits [message #12461 is a reply to message #4790] Mon, 03 August 1998 00:00 Go 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/
Re: IDL limits [message #12465 is a reply to message #4790] Mon, 03 August 1998 00:00 Go to previous message
Richard G. French is currently offline  Richard G. French
Messages: 65
Registered: June 1997
Member
Robert S. Mallozzi wrote:
>
> Hi all,
>
> I thought I read somewhere that IDL 5 removed all
> parameter limits, but I can't find it anywhere in
> the docs. I see that there are still some limits
> imposed:
>

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 French
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: WIDGET_BASE resizing problem
Next Topic: Re: tvscl smoothing

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

Current Time: Wed Oct 08 19:41:47 PDT 2025

Total time taken to generate the page: 0.00713 seconds