[haXe] switch case: stacking multiple cases ?
Ralf Bokelberg
ralf.bokelberg at gmail.com
Fri Aug 18 21:06:49 CEST 2006
Thanks for the info,
Ralf
On 8/18/06, Nicolas Cannasse <ncannasse at motion-twin.com> wrote:
> > Is there a way in haxe to have the equivalent of
> >
> > switch(a)
> > {
> > case 1:
> > case 2:
> > case 3:
> > doSomething();
> > break;
> > }
>
> Not yet.
> I'm planning to add this syntax in the future :
>
> switch(a) {
> case 1,2,3:
> doSomething();
> }
>
>
> Nicolas
>
> --
> haXe - an open source web programming language
> http://haxe.org
>
--
Ralf Bokelberg <ralf.bokelberg at gmail.com>
Flex & Flash Consultant based in Cologne/Germany
More information about the Haxe
mailing list