Well yes and no, all depends on mood..if I want to be shorthand luke I will go for the second, I think it is the need for <cfset which annoys me
-----Original Message----- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: 01 April 2005 14:36 To: CF-Newbie Subject: RE: Function Calling Seriously? Blimey! -----Original Message----- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 01 April 2005 14:24 To: CF-Newbie Subject: RE: Function Calling You say potatoe ;-) I suppose it is what you like, personally I would do both but I find the top method easier to read. -----Original Message----- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: 01 April 2005 14:26 To: CF-Newbie Subject: RE: Function Calling Another tip, although this is style more than anything, if you don't need to conditionally pass arguments to a function you can replace this: <cfinvoke method="LangText" returnVariable="Subject"> <cfinvokeargument name="LanguageID" value="#qryTagReplace.Language#"> <cfinvokeargument name="TextBlobID" value="#SubjectBlobID#"> </cfinvoke> with this: <cfset subject = LangText(qryTagReplace.Language, SubjectBlobID)> Whatdoyareckontothatthen? -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.0 - Release Date: 31/03/2005 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:15:823 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
