On Feb 15, 2004, at 3:09 PM, Pat Branley wrote:
I just noticed something strange about the way CF handles arrays. I allways
thought like java CF handled everything by reference. but it seems structs
and strings are passed by reference but arrays are passed by value ?

You are correct - arrays are copied every time you assign them, structs are always passed / assigned by reference.


Can anyone explain why this is ?

I've no idea... I think it's pretty strange... I can only assume that CF5 and earlier also worked that way...


Regards,
Sean


--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to