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

Home » Public Forums » archive » Re: object argument passing behaviour changed in v8.2.2?
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: object argument passing behaviour changed in v8.2.2? [message #86273 is a reply to message #86272] Tue, 22 October 2013 09:47 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Chris Torrence writes:

> I don't think this is a special case. It's also not "semi-passed-by-reference." The code is simply passing an expression into a routine, so IDL cannot store into it.

The point is, it *does* store into it, even though it is being passed by
value!

The object reference is passed by value, but the object itself, as a
heap variable, is more like a variable that is passed by reference. This
gives this situation the semi-passed-by-reference feel.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How can I show error line numbers when running .sav on Virtual Machine
Next Topic: Using Minimum operator with NaN values

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

Current Time: Wed Oct 08 18:11:44 PDT 2025

Total time taken to generate the page: 0.00482 seconds