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 function when called by cfdump tag.

--
Fabio Terracini


Sean Corfield wrote:

>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 nothing).
>  
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195912
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to