Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Michael S Newsgroups: comp.lang.c Subject: Re: do { quit; } else { } Date: Sun, 6 Apr 2025 16:13:23 +0300 Organization: A noiseless patient Spider Lines: 62 Message-ID: <20250406161323.00005809@yahoo.com> References: <8634enhcui.fsf@linuxsc.com> <86ldsdfocs.fsf@linuxsc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Sun, 06 Apr 2025 15:13:24 +0200 (CEST) Injection-Info: dont-email.me; posting-host="58f7fc265c99eb47e3d5fcc28f6142ae"; logging-data="684893"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1HtuSd3eAfi4tHPg2Rc9HAB+2UUmhrUM=" Cancel-Lock: sha1:IAgXgY4wZt7vYY3xwLiDXRxdqg8= X-Newsreader: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32) On Sun, 06 Apr 2025 05:47:47 -0700 Tim Rentsch wrote: > Thiago Adams writes: > > > Em 4/4/2025 5:48 PM, Tim Rentsch escreveu: > > > >> Thiago Adams writes: > >> > >>> What do you think of this control block? > >>> > >>> do > >>> { > >>> FILE f = fopen("file.txt", "r"); > >>> > >>> if (f == NULL) quit; /*goes to else part*/ > >>> > >>> /*success here*/ > >>> for (int i =0; i < 10; i++){ > >>> ... > >>> if (error) quit; > >>> } > >>> > >>> } > >>> else > >>> { > >>> /*some error*/ > >>> } > >> > >> I think it doesn't belong in comp.lang.c. > >> > >> I also think you have been participating in comp.lang.c > >> long enough to know better. Kindly take your language > >> fantasies somewhere else. > > > > I think the only reason you're saying that is because it's not > > implemented in GCC, Clang, or maybe even MSVC. > > You are wrong. I responded because there is nothing in > your posting that is suitable for comp.lang.c. > > > I've never seen you complain about any GCC extensions here. > > I don't remember seeing any posting in comp.lang.c that > discusses a gcc extension and nothing else. There are > plenty of postings that mention gcc extensions in passing, > along with other material that talks about C, but never > one that discusses gcc extensions exclusively. > > Furthermore, even if there had been a posting that concerns > only a gcc extension and nothing else, and is one I didn't > respond to, that doesn't excuse your action. It isn't like > this is the first time you have posted something here that > is not about C but only about your fantasy language, and > also not the first time the unsuitability of such postings > has been pointed out. You're a repeat offender. So stop > pretending you are being picked on for no reason. Could you recommend a more appropriate place for Thiago and others where they can discuss C-like fantasy languages?