What would you like added?
The standard C 'switch' statement, or something like it.
This is a "nice-to-have", so low priority. Anyone interested is welcome to
jump in.
How should it work?
switch (i) {
case 1: say("one"); break;
case 2: say("two"); fallthru; # NOTE: Why not make it a keyword?
default: say("huh?");
}
Please provide test cases, if possible.
Please use labels and text to provide additional information.
Original issue reported on code.google.com by austin_h...@yahoo.com on 28 Jun 2009 at 10:34
Original issue reported on code.google.com by
austin_h...@yahoo.com
on 28 Jun 2009 at 10:34