On Jun 1, 11 06:03, Andrei Alexandrescu wrote:
On 5/31/11 4:46 PM, KennyTM~ wrote:
On Jun 1, 11 05:37, Andrej Mitrovic wrote:
If you didn't have fallback, you would probably have to add some kind
of new statement like "goto next" or "fallback" on each of those
cases.

It already exists. It is called#

goto case;

Sigh. Unless it's a recent addition, I didn't know about it, Walter
missed the case during proofreading, and consequently that's not
documented in TDPL.

Andrei

This exists even in D1!* I hope this construct won't be removed, I use it a lot :p.

*: http://www.digitalmars.com/d/1.0/statement.html#GotoStatement

Reply via email to