No more fall through in case statement?

bearophile bearophileHUGS at lycos.com
Thu Jan 3 17:33:17 PST 2008


S. Wrote:
> I, at various times, have written code that depends on case statements falling through, while not being identical!

If you take a look at my original post, I have suggested to use a "fall" or "continue" statement when you want to go down, and nothing if you want the default of going at the end of the switch...

Bye,
bearophile



More information about the Digitalmars-d mailing list