May 25, 2004 Re: Select statement? | ||||
---|---|---|---|---|
| ||||
Posted in reply to J Anderson | 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. |
Copyright © 1999-2021 by the D Language Foundation