And of course things get confusing if the array contains structures. I believe those will be references. (Not 100% sure.)
======================================================================== === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Dave Watts > Sent: Wednesday, June 11, 2003 3:17 PM > To: '[EMAIL PROTECTED]' > Subject: RE: [CFCDev] Array of Objects? > > > > I believe that since CF now is just Java, the Java rules > > apply, so only primitives are copied by value. > > No, arrays are passed by value still. Queries, structures, > and XML document objects are passed by reference. > ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
