Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: bart Newsgroups: comp.lang.c Subject: Re: do { quit; } else { } Date: Mon, 14 Apr 2025 12:12:15 +0100 Organization: A noiseless patient Spider Lines: 19 Message-ID: References: <20250409142303.00004645@yahoo.com> <87ikndqabc.fsf@nosuchdomain.example.com> <20250410115501.000037a5@yahoo.com> <20250410080629.532@kylheku.com> <87a58mqt2o.fsf@nosuchdomain.example.com> <20250413072027.219@kylheku.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 14 Apr 2025 13:12:13 +0200 (CEST) Injection-Info: dont-email.me; posting-host="d60bd519c9c1b35e0dadd9227d9a5963"; logging-data="1179286"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX187Fe5OsyXc/kBpakejBFix" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:O4MGPwBeX6hgkN4l+wSAQZbRw5Q= In-Reply-To: Content-Language: en-GB Bytes: 2384 On 14/04/2025 11:51, tTh wrote: > On 4/14/25 12:16, bart wrote: >>      do 100 i = a, b >>          s1 >>          s2 >>          ... >> 100 continue > >      do i = a, b >         s1 >         s2 >      end do > That's even better. However my earlier point was that Fortran (ie. FORTRAN) had a simple iterative loop even in the 1950s. Then you had to use those numeric labels.