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
 
----------------------------------------
MillenniuM Information Systems
1101 Wilson Blvd. Suite 1200
Arlington, Virginia 22209
 
O: 703-341-1438
C: 607-426-9277
----------------------------------------
Golden Rule: 
"He who has the gold, makes the rules!"
 

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

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

Reply via email to