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>
ActivEdit Browser Based WYSIWYG HTML Editor
More Code Samples