<cfscript>
        if (blah) {
         }else{
                 switch () {
                         1: this; break;
                         2: that; break;
                 }
         }
</cfscript>

-----Original Message-----
From: Nick McClure [mailto:cf-lists@;king-nacho.com]
Sent: Tuesday, October 29, 2002 8:21 PM
To: CF-Talk
Subject: Re: Yahoo moving to PHP


><cf, <%, etc,\.,  what's the difference?

Here is the difference, to me it seems cleaner.

<cfif blah>
         <cfswitch>
                 <cfcase>
                 </cfcase>
                 <cfcase>
                 </cfcase>
                 <cfcase>
                 </cfcase>
         </cfswitch>
<cfelse>
</cfif>

or

<%
         if (blah) {
         }else{
                 switch () {
                         1: this; break;
                         2: that; break;
                 }
         }
%>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
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.

Reply via email to