Actually I think it's perfectly fine programming practice. Ie:

<cfif 1>
        <cfreturn "goobers">
<cfelse>
        <cfreturn "something else">
</cfif>

I'd say use the Livedocs feature to add a comment.

========================================================================
===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
(www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email    : [EMAIL PROTECTED]
Blog     : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Brad Howerter [mailto:[EMAIL PROTECTED] 
> Sent: Monday, July 28, 2003 12:05 PM
> To: CF-Talk
> Subject: CFRETURN has incorrect documentation
> 
> 
> CFRETURN's documentation says that a maximum of one CFRETURN 
> is allowed per function.  But I have code that does multiple 
> CFRETURNs and it works just fine.  Let's not argue whether 
> that's a good programming practice, but do you think 
> Macromedia will ever change ColdFusion to disallow multiple 
> CFRETURNs so that it agrees with the documentation?
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

Get the mailserver that powers this list at 
http://www.coolfusion.com

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

Reply via email to