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

Home » Public Forums » archive » Re: Pass by value and performance
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: Pass by value and performance [message #46698] Wed, 14 December 2005 11:04 Go to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Wed, 14 Dec 2005 10:08:30 -0700, David Fanning wrote:

> Paul Van Delst writes:
>
>> In the context of this thread (and your example below), shouldn't one
>> say that /dereferenced/ pointers are just regular IDL variables (i.e.
>> they're not expressions) ??
>>
>> I don't think I'm splitting hairs here (or am I?)
>
> No, I think that is what I meant. I was just so darned excited about
> knowing *why* this answer was true I mis-spoke. :-)
>
>> It makes me wonder though - have IDL pointers always behaved that way,
>> or is it a moving target (ala relaxed structure definitions post IDL 5.3
>> talked about in another thread) ?
>
> I think they have always behaved this way. But often these things are
> introduced without, uh, too much fanfare, and it takes everyone a while to
> catch up.

Doesn't surprise me... see the pointer tutorial on using this to pass
structure members by reference (sort of). In Ken's original example, it's
easy to just pass *data.array, and it will go in by reference.

JD
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: idl job posting
Next Topic: Recursive Function Program in IDL

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

Current Time: Thu Oct 09 06:03:23 PDT 2025

Total time taken to generate the page: 0.00416 seconds