Summary: The "Memory Management" documentation incorrectly
claims arrays are passed by reference.
--- Comment #0 from Bernard Helyer <blood.of.l...@gmail.com> 2011-11-22
03:50:14 PST ---
>Consider the case of passing an array to a function, possibly modifying the
>contents of the array, and returning the modified array. Since arrays are
>by reference, not by value, a crucial issue is who owns the contents of the
The semantics of using an array passed to a function may be reference like, but
the array is most certainly not 'passed by reference'. Glossing this over will
lead to confusion for people later on when they resize an array passed to a
function and wonder why the changes haven't been reflected at the call site.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------