Woops! sorry didn't see the "in cfscript" part.

Guessing...

switch(#variabel#){
        case a:
                <stuff>
        case b:
                <otherstuff>
        case c:
                <morestuff>
                break;

        case q:
                <asdfasdf>
                break;
}

if that doesn't work, then it wont work.

-----Original Message-----
From: Rob Rohan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 10:13 AM
To: CF-Talk
Subject: RE: multiple case values in switch statement in cfscript


<cfcase = "a,b,c,d,e" delimiters=",">

-----Original Message-----
From: Kola Oyedeji [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 9:11 AM
To: CF-Talk
Subject: multiple case values in switch statement in cfscript


Hi

Could anyone tell me if its possible to define multiple case statements
In a switch block in cfscript..

So a cfscript version of :

<cfcase = "a,b,c,d,e" >


Thanks

Kola




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
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

Reply via email to