Article View: comp.lang.c
Article #119Re: Taming The Switch-Statement
From: Janis Papanagnou
Date: Sat, 10 Oct 2026 18:13
Date: Sat, 10 Oct 2026 18:13
14 lines
1844 bytes
1844 bytes
On 2026-10-10 18:50, Michael S wrote: > > I fully agree with your post (plus have to add that "more structured > switch" apart from new keyword(s) will need some new way to express > common handler for several cases. Ada/VHDL solution of using | would > not work in C for obvious reasons). Pascal allows '..' and ',' (for ranges and lists), and even mixed. That should (in principle) be a syntactical possibility in "C". Janis > [...]
Technical Details
Message-ID:
<11adv82$cjlv$2@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<119qf6l$2rmg3$1@dont-email.me> <11ac0mi$19kfd$1@dont-email.me> <11ac2jv$1a84t$1@dont-email.me> <11ac783$1bkuo$1@kst.eternal-september.org> <20261010195051.00000594@yahoo.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com> Newsgroups: comp.lang.c Subject: Re: Taming The Switch-Statement Date: Sat, 10 Oct 2026 20:13:22 +0200 Organization: A noiseless patient Spider Lines: 14 Message-ID: <11adv82$cjlv$2@dont-email.me> References: <119qf6l$2rmg3$1@dont-email.me> <11ac0mi$19kfd$1@dont-email.me> <11ac2jv$1a84t$1@dont-email.me> <11ac783$1bkuo$1@kst.eternal-september.org> <20261010195051.00000594@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 10 Oct 2026 18:13:22 +0000 (UTC) Injection-Info: dont-email.me; logging-data="413375"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18x499MwuoeB7cGtvgy4tV2"; posting-host="51a9598490edb80150aa60ca9e0cee6b" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:pWVnejifVIbK2PvP/+/SK8UCkgM= sha256:oVplRUtW5RzUcBu8WJhdymr7BnEMI+0S6Pb8KqAx1tE= sha1:ozOZUalqk5r040ETgE1aDsKOnJg= sha256:tvSsHiN/dK3FtqdYKMxgKhVOIUmJWDsUQGKk3gf4374= Content-Language: en-US In-Reply-To: <20261010195051.00000594@yahoo.com>