🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #688

Re: why &| dont work and its possible to make it work

#688
From: fir
Date: Thu, 22 Oct 2026 21:28
34 lines
2149 bytes
fir pisze:
> if(a) if (b) if(c) if (d) {}

switch in such aspect as i said before could be done as


if(if(a) {}, if(b) {}, if(c) {}, if(d) {} } {/*some*/} else {/*none*/}

which maybe is kinda idiotic (some asumption also here the logical value 
have thise inner ifs not  blocks) but is kinda logical illustration
of possibilities here

coz it seems for example there ar more switches possible than this one 
from c (if im not wrong - and i may be wrong if those other reduce to 
the one..would need to check


forexample

is something like

if(if(a) {} & if(b) {} | if(c) {} & if(d) {} } {/*some*/} else {/*none*/}

to be presented by normal switch?


(to weary to check)






Technical Details
Message-ID: <11bdv6t$184mo$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-mail
References: <117mere$3a14a$1@dont-email.me> <11bda5e$vdh3$1@dont-email.me> <%EtCS.3$dnHe.0@fx46.iad> <20261022130030.580@kylheku.com> <11bdu8v$17qlq$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: why &| dont work and its possible to make it work
Date: Thu, 22 Oct 2026 23:28:59 +0200
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <11bdv6t$184mo$1@dont-email.me>
References: <117mere$3a14a$1@dont-email.me> <11bda5e$vdh3$1@dont-email.me>
 <%EtCS.3$dnHe.0@fx46.iad> <20261022130030.580@kylheku.com>
 <11bdu8v$17qlq$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 22 Oct 2026 21:29:02 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1315544"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/QqPcrDHNmTEzZGEqqeqDD1XlT3Ne5Dlk="; posting-host="0b30788676943a83f79a25d06a15ee98"
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:jOYJsTq4NoNfzBIU8oPqSXnITC8= sha256:JUcC28UavMbzE7G8YTaHREOgdQ6fY1oQmnQRkTqfY2M=
	sha1:LWdCwbt/l9BiG8KrejiHK+CdCwA= sha256:5LRr9PU3vruuDwmAurHgfSD8LpB/OepIpPKcTcCcboc=
In-Reply-To: <11bdu8v$17qlq$1@dont-email.me>