simple types (including string) and arrays are passed by value.  Structs, objects, and recordsets are passed by reference.  If you need to pass an array by reference, wrap it in a struct and pass the struct.
 
cheers,
barneyb


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marlon Moyer
Sent: Wednesday, February 11, 2004 11:03 AM
To: [EMAIL PROTECTED]
Subject: [CFCDev] Pass by reference

Is it a correct assumption that all parameters and return values to and from CFC’s are passed by reference and not by value?

 

--

marlon

 

"And Bobby you are right, I am being selfish, but the last time I checked, we don't have a whole lot of songs that feature the cowbell!"

 

 

Reply via email to