← Back to context Comment by zabzonk 6 days ago In Fortran, it is a do-loop :) 4 comments zabzonk Reply bee_rider 6 days ago Fortran has grown a lot over time. If somebody said it don’t have a do loop in 196X, I wouldn’t be too surprised.Really it’s just syntactic sugar, just use a goto. bregma 6 days ago FORTRAN IV, at least the version I used on the PDP-11 running RSX, did not have a DO-loop. Just IF and GO TO. But it did have both logical and arithmetic IF. pklausler 6 days ago I don’t believe this. pklausler 6 days ago The entire point of Fortran was being an effective optimizing compiler for DO loops.
bee_rider 6 days ago Fortran has grown a lot over time. If somebody said it don’t have a do loop in 196X, I wouldn’t be too surprised.Really it’s just syntactic sugar, just use a goto. bregma 6 days ago FORTRAN IV, at least the version I used on the PDP-11 running RSX, did not have a DO-loop. Just IF and GO TO. But it did have both logical and arithmetic IF. pklausler 6 days ago I don’t believe this. pklausler 6 days ago The entire point of Fortran was being an effective optimizing compiler for DO loops.
bregma 6 days ago FORTRAN IV, at least the version I used on the PDP-11 running RSX, did not have a DO-loop. Just IF and GO TO. But it did have both logical and arithmetic IF. pklausler 6 days ago I don’t believe this.
pklausler 6 days ago The entire point of Fortran was being an effective optimizing compiler for DO loops.
Fortran has grown a lot over time. If somebody said it don’t have a do loop in 196X, I wouldn’t be too surprised.
Really it’s just syntactic sugar, just use a goto.
FORTRAN IV, at least the version I used on the PDP-11 running RSX, did not have a DO-loop. Just IF and GO TO. But it did have both logical and arithmetic IF.
I don’t believe this.
The entire point of Fortran was being an effective optimizing compiler for DO loops.