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

Home » Public Forums » archive » Arg_Present
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: Arg_Present [message #9731 is a reply to message #9641] Mon, 04 August 1997 00:00 Go to previous message
J.D. Smith is currently offline  J.D. Smith
Messages: 214
Registered: August 1996
Senior Member
J.D. Smith wrote:
>
> I'm just full of complaints this week. This particular one is about
> Arg_Present. It is a lovely addition, and one for which I clamored
> before the release of IDL v5, but it has something left out... it does
> not correctly identify *inherited* keyword passed variables as return
> variables. This may seem like a small detail, but consider this
> scenario: A subclass' GetProperty method calls its superclass' method
> with any extra keywords it receives. The superclass' GetProperty method
> checks if keywords are present as return variables before computing a
> property for return. But this doesn't work... _EXTRA keywords will not
> trigger arg_present, and the whole system is broken.
>
> Just another link in a long chain of gripes.
>
> JD


Well, this is one of those difficulties which goes even deeper... What
is really happening is that, since _EXTRA keywords get passed in a
structure, they are no longer call by reference, and cannot get passed
out as return items at all. As a fix, I dynamically create a structure
for return of variables, and return it along the method chain, adding to
it as necessary as I go.

JD
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: clip a surface
Next Topic: Re: map projection and map on XY plane in 3D

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

Current Time: Sun Nov 30 00:01:27 PST 2025

Total time taken to generate the page: 0.64301 seconds