Hello Ary,

Saaa wrote:

You missed the alternative syntax to get the same behaviour. But
it's a very subtle difference.

Do you mean the multiple cases?
http://www.digitalmars.com/d/1.0/statement.html#SwitchStatement
Yes, but make the "multiple cases" the *only* way to make case
statements fallthrough. That would be the change.


that /does not/ support the use case I have used:


switch(n)
{
case 1:
   some_func();

case 2:
   some_other_func();
}


Reply via email to