May 25, 2004
J Anderson wrote:

<snip>
> Also I don't think there's a need for the else part.  Something like:
> 
> switch (...)
> {
> case ...
> {
> 
> }
> case ...
> {
> 
> }
> }
<snip>

That would cause the second part to be executed if its case matched, even if the first case also matched.

Of course, in the one I gave, the final else could otherwise be default.

Stewart.

-- 
My e-mail is valid but not my primary mailbox, aside from its being the unfortunate victim of intensive mail-bombing at the moment.  Please keep replies on the 'group where everyone may benefit.
1 2 3
Next ›   Last »