<cfscript>
function test(a,b) {
return a*b;
}
</cfscript>
<cfset z= 9>
<cfset x = test(a=z, b=3)>
<cfoutput>#x#</cfoutput>
This works fine. This does not:
<cfscript>
function test(a,b) {
return a*b;
}
</cfscript>
<cfset request.test = test>
<cfset z= 9>
<cfset x = request.test(a=z, b=3)>
<cfoutput>#x#</cfoutput>
I'm not sure why, but I'm getting the same error as you.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]