While I can understand this in a UDF, I just can't understand why this is
true for a custom tag. I just tried it out and an array is passed by value
to a custom tag. A structure is passed by reference. This totally breaks
the paradigm of custom tags being "totally independent processes".
At 03:25 PM 9/10/01, you wrote:
> > Are variables passed by reference or by value in CF UDFs?
>
>Queries, structures, and variables created using CFOBJECT are passed by
>reference. Other variables are passed by value. This is true whether passing
>them to UDFs or custom tags or whatever, as far as I can tell.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>voice: (202) 797-5496
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists