Sujet : Re: do { quit; } else { }
De : bc (at) *nospam* freeuk.com (bart)
Groupes : comp.lang.cDate : 14. Apr 2025, 12:12:15
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vtiqic$13vkm$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
User-Agent : Mozilla Thunderbird
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.