Sorry the test case WW has posted doesn't show the whole picture but
her description does describe that this involves a method.

What we're seeing is that if the VAR keyword is not used then the
array is passed by Value into the function which is consistent with
normal Coldfusion behaviour.

However when the VAR keyword is used then it passes by reference.

Where as obviously with Structs in both instances its passed by
reference

Also note this url 
http://www.bennadel.com/blog/141-ColdFusion-Arrays-Passed-By-Value.htm
which describes the scenario but actually I don't believe Open BD is
exhibiting this behaviour which i believe it should.

I haven't confirmed that CF9 behaves the same way but the inclusion of
not of the VAR keyword effecting arrays in this way to me seems odd.

A

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

Reply via email to