My Account   Contact Us    
  
» HomeProductsSupportDeveloper CommunityCompany
CFFUNCTION User Defined Function Example UDF's
Author: Pete Freitag
Category: ColdFusion
An example of a UDF using the CFFUNCTION tag in ColdFusion MX.

<cffunction name="add" returnType="numeric">
   <cfargument name="x" type="numeric">
   <cfargument name="y" type="numeric">
   <cfreturn x+y>
</cffunction>

<cfoutput>#add(5,3)#</cfoutput>



Content Management Powered by ActivEdit  ActivEdit Browser Based WYSIWYG HTML Editor

More Code Samples

Sign up for our newsletter: | Subscribe with RSS: RSS
© ActivSoftware 1999 to 2005 | Privacy Statement