You can use:

return "";

At the end of the UDF.  Though it is best if you just return the result of the UDF as 
that is usually the way it is done :)

HTH
-Ryan

-----Original Message-----
From: Huynh Weiming [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 5:06 PM
To: CF-Talk
Subject: UDF always returning "YES" no "NO" when I call it in a cfoutput


Is there a way to get rid of the "YES" no "NO" from a UDF

I have a UDF

function someFunction(param)
{
}

when I call someFuntion like this:

<cfoutput>
    #someFunction(param)#
</cfoutput>

the output is as follow:

someFunction result
and the word "YES" or "NO" following the result



thanks.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to