Right. Not allowed in CF8, but it is allowed in CF9.



andy 

-----Original Message-----
From: Leigh [mailto:cfsearch...@yahoo.com] 
Sent: Tuesday, September 14, 2010 3:07 PM
To: cf-talk
Subject: Re: CF8+: Short Hand notation for calling a function within a
component.


I do not remember that being allowed in CF8. But you could assign the
structure to a variable. Then use argumentCollection

<cfscript>
args = {name="mike", likes="beer,soccer,women"}; myFunction(
argumentCollection=args ); </cfscript>



      



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337015
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to