Re: cfdump and functions bug (CF 7)

2005-02-23 Thread Sean Corfield
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

Re: cfdump and functions bug (CF 7)

2005-02-22 Thread Terracini
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 funct

Re: cfdump and functions bug (CF 7)

2005-02-22 Thread Sean Corfield
On Mon, 21 Feb 2005 11:28:53 -0300, Terracini <[EMAIL PROTECTED]> wrote: > > a > > 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 nothing). -- Sean A Corfield -- http://www.corf

cfdump and functions bug (CF 7)

2005-02-21 Thread Terracini
Hello, I wrote a small UDF to help confirm this: a #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 cfdump seems to evaluate the function twice before return the result. I hope no one use cfd

cfdump and functions bug (CF 7)

2005-02-21 Thread Terracini
Hello, I wrote a small UDF to help confirm this: a #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 cfdump seems to evaluate the function twice before return the result. I hope no one use c