My  understanding is that in these "complex combos" as I like to call them,
the arrays are passed by value, and the structures contained in them are
passed by reference.  I remember testing this a while ago and that was the
case then.

-Rob




[EMAIL PROTECTED]@cfczone.org on 06/11/2003 02:36:04 PM

Please respond to [EMAIL PROTECTED]

Sent by:    [EMAIL PROTECTED]



To:    [EMAIL PROTECTED]
cc:


Subject:    RE: [CFCDev] Array of Objects?


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




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