or is that the dumb answer that you already knew.
-----Original Message-----
From: Bryan F. Hogan [mailto:[EMAIL PROTECTED]
Sent: Monday, January 05, 2004 4:34 PM
To: CF-Talk
Subject: RE: CFFunction Question
What happens if you add the #s?
-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Monday, January 05, 2004 4:32 PM
To: CF-Talk
Subject: RE: CFFunction Question
Oh wait... check this:
<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]

