[haXe] switch case: stacking multiple cases ?

Ralf Bokelberg ralf.bokelberg at gmail.com
Fri Aug 18 20:46:36 CEST 2006


Is there a way in haxe to have the equivalent of

switch(a)
{
      case 1:
      case 2:
      case 3:
           doSomething();
           break;
}

Cheers,
Ralf.

-- 
Ralf Bokelberg <ralf.bokelberg at gmail.com>
Flex & Flash Consultant based in Cologne/Germany



More information about the Haxe mailing list