Yes, you get two dumps. However, you'll notice that the output from "testMe2" dumps a structure of two keys, both containing "undefined struct element". If you remove the <cfargument> from "testMe2", the dumps are identical. My question is, why?
-----Original Message----- From: Azadi Saryev [mailto:[EMAIL PROTECTED] Sent: Friday, April 18, 2008 10:21 PM To: CF-Talk Subject: [BULK] Re: args & arg collections Importance: Low i ran your code on cf8.1 and got 2 dumps back: dump 1: struct 1 sample string dump 2: struct ONE sample string this code ran fine as well, outputting 2 dumps: <cffunction name="testMe2" output="1"> <cfdump var="#arguments#" label="testMe2 args"> </cffunction> <cffunction name="testMe" output="1"> <cfdump var="#arguments#" label="testMe1args"> <cfinvoke method="testMe2" argumentcollection="#arguments#" /> </cffunction> <cfoutput> #testMe("sample string")# </cfoutput> i have also put the above 2 funcs in a cfc and called it with <cfset t = createobject('component', 'test').testMe('hello there!')> and still got 2 dumps back... which version of cf are you running? how is this not working in your case (errors? no output?)? am i missing something here? Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Leitch, Oblio wrote: > Yes, I could *always* use the names, but I'm trying to run the function > with unnamed arguments. Additionally, I explicitly want to pass > arguments from one to the next. > > > > -----Original Message----- > From: Leitch, Oblio [mailto:[EMAIL PROTECTED] > Sent: Friday, April 18, 2008 4:55 PM > To: CF-Talk > Subject: args & arg collections > > Can someone explain why I can't pass an unnamed argument set from one > function to another? > > <cffunction name="testMe2" output="1"> > <cfargument name="one" type="string"> > <cfdump var="#arguments#"> > </cffunction> > > <cffunction name="testMe" output="1"> > <cfdump var="#arguments#"> > <cfinvoke method="testMe2" argumentcollection="#arguments#" /> > </cffunction> > > <cfoutput> > #testMe("sample string")# > </ cfoutput > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303844 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

