Article View: comp.lang.c
Article #779Re: Taming The Switch-Statement
From: fir
Date: Mon, 26 Oct 2026 12:07
Date: Mon, 26 Oct 2026 12:07
25 lines
1805 bytes
1805 bytes
fir pisze:
> if {} or if {} or if {} else {}
this form in fact is not bad, it simply showst two things
1) you may use or outside the if clause (if this () can be named clause)
2) else in fact work on logical group but ias sole if is alos a case of
logical group so else work on it sole in special case
otherwiste thse keywords here if or and else are quite 'legit'
if () {}
or if () {}
or if() {}
else {}
seems quite legit and it seem to ba a switch
Technical Details
Message-ID:
<11bnfpm$i84l$1@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> <11ba02r$3pl5h$1@dont-email.me>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: fir <profesor.fir@gmail.com> Newsgroups: comp.lang.c Subject: Re: Taming The Switch-Statement Date: Mon, 26 Oct 2026 13:07:17 +0100 Organization: A noiseless patient Spider Lines: 25 Message-ID: <11bnfpm$i84l$1@dont-email.me> References: <119qf6l$2rmg3$1@dont-email.me> <11ba02r$3pl5h$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 26 Oct 2026 12:07:18 +0000 (UTC) Injection-Info: dont-email.me; logging-data="598165"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+TIpQg7ZYsEF1HruKEBbZHO1T3tAly7V4="; posting-host="524fd3863234ce524468884467e01d13" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0 SeaMonkey/2.53.24 Cancel-Lock: sha1:7FPppuSVA/CKYGZcjtm1SqeeUWM= sha256:x7FeRx3Oq6YIe6afIp6IaolZBCW6ICqkT2HIXeADyAk= sha1:B1tsXNPnLqW6Q48GhRJOhtCHVz0= sha256:83+0b/qEYtUgWio8cW+hiJmK+r9tTRN7+CMSO4ouZ54= In-Reply-To: <11ba02r$3pl5h$1@dont-email.me>