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

Home » Public Forums » archive » _ref_extra
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
_ref_extra [message #26175] Fri, 10 August 2001 10:42 Go to next message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
Doe anybody know if there is a way to get into the "IDL maintained"
values managed by _ref_extra, which are then passed by _extra to be
returned by reference? Like an _extra structure can be analyzed in a
program? I can't seem to me able to get anywhere with a string array
returned by _ref_extra :-(
Thenk you,
Pavel
Re: _ref_extra [message #26272 is a reply to message #26175] Fri, 10 August 2001 11:53 Go to previous message
John-David T. Smith is currently offline  John-David T. Smith
Messages: 384
Registered: January 2000
Senior Member
"Pavel A. Romashkin" wrote:
>
> Doe anybody know if there is a way to get into the "IDL maintained"
> values managed by _ref_extra, which are then passed by _extra to be
> returned by reference? Like an _extra structure can be analyzed in a
> program? I can't seem to me able to get anywhere with a string array
> returned by _ref_extra :-(
> Thenk you,
> Pavel

Nope, not a chance. Part of the mechanism used by _REF_EXTRA assumes
the routine declaring it is only interested in passing keywords onward,
not in inspecting them in the meantime. This is an assumption which, if
it had been true for _EXTRA itself, would have meant no aditional
keyword was required for pass-by-reference keyword inheritance. I
debated the topic in the newsgroup from the earliest days of
_REF_EXTRA.

Here's the commentary which led to it's introduction:

http://groups.google.com/groups?selm=33E767F4.74F051BF%40ast rosun.tn.cornell.edu

Here's the relevant thread discussing the details of the mechanism:

http://groups.google.com/groups?hl=en&safe=off&th=c2 4a35463d38e145,5&seekm=355A0AFC.DF2B53D8%40astrosun.tn.c ornell.edu#p

A good read for a lazy Friday.

JD
Re: _ref_extra [message #26273 is a reply to message #26175] Fri, 10 August 2001 11:03 Go to previous message
david[2] is currently offline  david[2]
Messages: 100
Registered: June 2001
Senior Member
Pavel A. Romashkin writes:

> Doe anybody know if there is a way to get into the "IDL maintained"
> values managed by _ref_extra, which are then passed by _extra to be
> returned by reference? Like an _extra structure can be analyzed in a
> program? I can't seem to me able to get anywhere with a string array
> returned by _ref_extra :-(

Oh, no. Not this discussion again! :-)

Here are my raw notes for an article on the
topic I've been meaning to write for several
years now:

ftp://www.dfanning.com/pub/dfanning/outgoing/misc/ref_extra. txt

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: color widget
Next Topic: column labels on table widgets

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

Current Time: Wed Oct 08 14:52:30 PDT 2025

Total time taken to generate the page: 0.00440 seconds