Wow, that's really interesting - on MX7 why does the a dump only have two arguments in it, but the structCount is 3?

Harry Klein wrote:

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


--
Peter J. Farrell :: Maestro Publishing

blog    :: http://blog.maestropublishing.com
email   :: [EMAIL PROTECTED]

Create boilerplate beans!
Check out the Mach-II Bean Creator - free download.
http://blog.maestropublishing.com/mach-ii_beaner.htm


Press <ALT-H> for extra file points on this board!

--


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


Reply via email to