On Sat, Aug 05, 2000 at 04:10:20AM +1000, Damian Conway wrote:
> But a switch is not a loop.
> Within a loop the logic is:
> 
>       next -> try next case
>       last -> this was the last case

And don't forget redo!

        redo -> reevaluate the case

The block executed may have modified the switched variable, but we
want to continue evaluating the cases from this point rather than
starting again at the top of the switch.

> Long and bitter experience indicates that fallthrough is a poor default
> (but a good *option*).

Indeed.

-Scott
-- 
Jonathan Scott Duff
[EMAIL PROTECTED]

Reply via email to