Syntax is something like:

case "kids":
case "Siblings":
 // do kid / sibling stuff
 break;
case "something else"

 It confused me the first time I saw it. 

--- In flexcoders@yahoogroups.com, Wally Kolcz <wko...@...> wrote:
>
> I feel stupid for not knowing this, but I guess its never come up. How 
> do you do multiple conditions on a case statement in a switch. I am 
> trying to figure out age so the case says something like 'case "kids" || 
> "siblings"'. Doesn't seem to be working.
>


Reply via email to