I thought he meant

<cfreturn this>
<cfreturn that>
<cfreturn anything>

Where all 3 would be returned without error.

Mike



----- Original Message ----- 
From: "Raymond Camden" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, July 28, 2003 2:12 PM
Subject: RE: CFRETURN has incorrect documentation


> 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

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

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

Reply via email to