select x
    {
    when selected > 1000 :
      out( huge );
    when selected % 2 == 0 :
      System.out.println ( even ) ;
    when -100 .. -10, 0, +10 .. +100 :
      System.out.println( boring ) ;
      System.out.println( "Note: no braces needed for each case" );
      System.out.println( "Note: no fallthrough" ) ;
    other :
      System.out.println( "something else" ) ;
    }