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

Home » Public Forums » archive » Re: Weird MIN behavior
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: Weird MIN behavior [message #42717 is a reply to message #42716] Mon, 21 February 2005 16:49 Go to previous messageGo to previous message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
>> backwards. In every other language, arrays and array elements are
>> passed by reference and primitives are passed by value.
>
>
> The two languages I'm most familiar with are C and C++. In both of
> those languages, whether an array element is passed by reference only
> if it has an array type. If the element type is a scalar, it's passed
> by value, not by reference.
>

Ah, yes. I misspoke. A lot of the time I work with the arrays elements
as pointers, so I just begin to think that everything is a pointer. But
yes, if an array element is a scalar, it will be passed by value.

-Mike
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: widget_base alignment question
Next Topic: Maximze a minimize GUI

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

Current Time: Sun Oct 12 14:44:47 PDT 2025

Total time taken to generate the page: 2.39380 seconds