ColdFusion CFInvoke Eliminates The Need For Evaluate() When Dynamically Executing User Defined Functions

<cffunction
	name="GetDisplayName"
	access="public"
	returntype="string"
	output="false"
	hint="I take a first and last name and display in standard order.">
 
	<!--- Define arguments. --->
	<cfargument
		name="FirstName"
		type="string"
		required="true"
		hint="I am the first name."
		/>
 
	<cfargument
		name="LastName"
		type="string"
		required="true"
		hint="I am the last name."
		/>
 
	<!--- Return display name. --->
	<cfreturn "#ARGUMENTS.FirstName# #ARGUMENTS.LastName#" />
</cffunction>
 
 
<cffunction
	name="GetInverseDisplayName"
	access="public"
	returntype="string"
	output="false"
	hint="I take a first and last name and display in inverse order.">
 
	<!--- Define arguments. --->
	<cfargument
		name="FirstName"
		type="string"
		required="true"
		hint="I am the first name."
		/>
 
	<cfargument
		name="LastName"
		type="string"
		required="true"
		hint="I am the last name."
		/>
 
	<!--- Return display name. --->
	<cfreturn "#ARGUMENTS.LastName#, #ARGUMENTS.FirstName#" />
</cffunction>
 
 
<cffunction
	name="GetInformalDisplayName"
	access="public"
	returntype="string"
	output="false"
	hint="I take a first and last name and display an informal name.">
 
	<!--- Return informal name. --->
	<cfreturn ARGUMENTS[ 1 ] />
</cffunction>

For Cut-and-Paste