can someone help me to understand the following:

<cfscript>

temp = StructNew();

</cfscript>

<cfset newtemp = temp>

<cfset temp.value = "Hello">

<cfset temp = 45>

<cfoutput>

#newtemp.value# #temp#

</cfoutput>

according to some cfmx exam study questions, the output would read "Hello 45" (without 
the quotes).

I assume this has to do with the way copying variables and references and the like..

any clarification would be great.

Thanks,

Michael T. Tangorre


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to