On 5/31/05, Mark Mandel <[EMAIL PROTECTED]> wrote:
> Okay - now maybe this is a stupid question but:
> 
> Why do arrays get passed by value, whereas structs get passed by reference?

Because that's how CF has always done it... I bet it was originally an
accident in JJ's C++ implementation but then code began to rely on it
and the behavior has to be preserved. Anyone got a really old copy of
CF that supports both arrays and structs to see what the assignment
behavior was?
-- 
Sean A Corfield -- http://corfield.org/
Team Fusebox -- http://fusebox.org/
Got Gmail? -- I have 50, yes 50, invites to give away!

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to