> -----Original Message----- > From: Barney Boisvert [mailto:[EMAIL PROTECTED] > > If you use positional parameters (myFunc(x, y, z)) then they > are passed in order. If you use named parameters > (myFunc(arg1 = x, arg2 = y, arg3 = z)) then they are passed > according to the names.
Thanks. > If you want to pass a specific argument with positional > notation, you must pass EVERY argument that is listed before, > regardless of whether they are optional or not. No such > limitation exists with named parameters, just name the ones > you want to pass and send them in. If I'd turned the page from where I was in the book I would have found that. Doh! Thanks for explaining it. -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 "Why are you wearing that stupid man suit?" - Frank ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187658 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

