Hm.  This begs for more testing.  For example, what happens if you pass an array of 
structures?  Is each structure then passed by value because it's contained in an 
array, 
or are they still passed by reference?

- Jeff

On 11 Jun 2003 at 17:16, Dave Watts wrote:

From:                   Dave Watts <[EMAIL PROTECTED]>
To:                     "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject:                RE: [CFCDev] Array of Objects?
Date sent:              Wed, 11 Jun 2003 17:16:49 -0400
Send reply to:          [EMAIL PROTECTED]

> > 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.
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> voice: (202) 797-5496
> fax: (202) 797-5444
> 
> ----------------------------------------------------------
> 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).


----------------------------------------------------------
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).

Reply via email to