Doing:

Var newArray = anotherArray

Is just an assignment. Nothing is being passed by value. Passing a variable
would mean your passing it into a method.

It seems like bd.net is doing it incorrectly.
On Jun 23, 2011 5:52 PM, "AlexS" <[email protected]> wrote:
> My understanding is that Arrays pass by Value and Structs and other
> complex object types by reference, at least that was what I used to
> teach within the Advanced Course CF curriculum here is also a resource
> which infers that.
>
>
http://www.coldfusionjedi.com/index.cfm/2009/5/1/ColdFusion-and-Pass-by-Reference-versus-Value
>
> I suggest that WW runs her test case on Coldfusion to see whether its
> consistent with OpenBD it may well be that BD.NET is the incompatible
> one.
>
> Though it does seem strange to me that Arrays are passed by value in
> most scenarios apart from when a var keyword is used in a function
> which it then triggers by reference ? At least thats my reading of the
> symptom it is our code base that is throwing this problem up :)
>
> Thanks
>
> Alex
>
> --
> official tag/function reference: http://openbd.org/manual/
> mailing list - http://groups.google.com/group/openbd?hl=en

-- 
official tag/function reference: http://openbd.org/manual/
 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to