Sujet : Re: how to make a macro work as a single line if stmt without braces
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.cDate : 21. Sep 2024, 09:10:51
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vclv2b$1hf82$1@dont-email.me>
References : 1
User-Agent : Pan/0.160 (Toresk; )
On Sat, 21 Sep 2024 07:35:49 +0000, Mark Summerfield wrote:
I would prefer to be able to write this instead:
total++;
if (failed)
WARN("failed because...");
else
ok++;
I wouldn’t, if I were you.