Which reminds me. What isn't there an ElseIf in CFSCRIPT?

> Switch/Case outside of cfscript is much faster. I think I remember reading
> somewhere in the CFDocs that switch/case was only added to CFSCRIPT for the
> sake of consistency between the tagged and scripted functionality.
> 
> - Chris
> 
> <!----------------------------------------------------------->
> Christopher Cortes                   |Coming Q3 2001:
> Consultant                           |
> Stonebridge Technologies, Inc.       | ’Optimizing ColdFusion’
>      Putting Technology To Work      |           By
> Visit us at www.sbti.com             |   Christopher Cortes
> Ofc: 713.985.6244 cel: 281.235.6100  |     www.osborne.com
> <-----------------------------------------------------------!>
> 
> 
> -----Original Message-----
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, April 29, 2001 12:35 PM
> To: CF-Talk
> Subject: Re: Benefits of <CFSWITCH> vs. <CFSCRIPT> with SWITCH
> 
> 
> A case statement in CFSCRIPT will only allow a single value to look at while
> the CFCASE will allow multiple. As for speed, I haven't tested it but will
> do so today.
> 
> 
> > If I have a <CFSWITCH>/<CFCASE> block, would I gain anything by converting
> > to a <CFSCRIPT> block with SWITCH/CASE statements?
> >
> > Erika
> >
> > "Friendship is never an accident. It is always the result of high
> > intentions, sincere effort, intelligent direction and skillful execution.
> It
> > represents the wise choice of many alternatives." - unknown
> >
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to