Maybe I'm confused, sorry, but isn't this the same as
myFunction(name="mike", likes="beer,soccer,women")?
Leigh wrote:
> 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:337026
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm