On Tue, 22 Feb 2005 15:17:09 -0300, Terracini [EMAIL PROTECTED] wrote:
And the doubled outputed data was driving me crazy, since I was trying
to find a non-existant bug in the UDF.
Anyway, I think this is a CF7 bug, since it double the data outputed by
a function when called by cfdump tag.
On Mon, 21 Feb 2005 11:28:53 -0300, Terracini [EMAIL PROTECTED] wrote:
cffunction name=test output=Yes
a
cfreturn foo
/cffunction
Outputting something and also returning a value is not really a good
idea. Either a method should return a result or it should output
something (and return
I'm plenty sure of that!
I was developing an UDF and both outputing data (to debug) and returning
data.
And the doubled outputed data was driving me crazy, since I was trying
to find a non-existant bug in the UDF.
Anyway, I think this is a CF7 bug, since it double the data outputed by
a
Hello,
I wrote a small UDF to help confirm this:
cffunction name=test output=Yes
a
cfreturn foo
/cffunction
cfoutput#test()#/cfoutput
br
cfdump var=#test()#
The expected result is:
a foo
a foo
But the result I'm getting (tested in two CF 7 deploys, Windows based) is
a foo
a a foo
Hello,
I wrote a small UDF to help confirm this:
cffunction name=test output=Yes
a
cfreturn foo
/cffunction
cfoutput#test()#/cfoutput
br
cfdump var=#test()#
The expected result is:
a foo
a foo
But the result I'm getting (tested in two CF 7 deploys, Windows based) is
a foo
a a foo
The
5 matches
Mail list logo