Short quiz:
What is the output from the cfdump below? (in CFMX7)
1) 2 ?
2) 3 ?
================== Code ======================
<cffunction name="functa" returntype="void">
<cfargument name="a">
<cfargument name="b">
<cfset functb(argumentcollection=arguments)>
</cffunction>
<cffunction name="functb">
<cfargument name="a">
<cfargument name="b">
<cfdump var="#StructCount(arguments)#">
</cffunction>
<cfset functa(1,2)>
===============================================
-Harry
P.S.
Result in CFMX 6: 2
Result in CFMX 7: 3
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]