Am Sun, 09 Jun 2013 16:48:39 -0700 schrieb Ali Çehreli <acehr...@yahoo.com>:
> > switch(foobar) with(FoobarEnum) { > > // ... > > } > > > > That is golden ! > > +1000 :o) > > To me, 'with' is useful only in that _case_. Pun intended? I even remember someone being surprised that it had other uses than this one, but I couldn't find the post. switch(foobar : FoobarEnum) {} ? :p -- Marco