C
Chris Torek
It has a much more obnoxious effect. If I <= LAST on entry it gives
an infinite loop and quite some UB. ;-).
Oops. Swap the first two quoted lines, yes. Also, the third line
should say "CALL COMPUT...", though of course this was really shorthand
for "some computation using X(I)".
(It has been at least 20 years since I wrote any Fortran, and even
then I used various RATFOR variants -- the one on BSD Unix, and
before that, the one I wrote for myself to use with Microsoft's
F80 on my TRS-80. Of course I had to write that one in Fortran.)