Subj : Re: Math and programming
To : poindexter FORTRAN
From : Dr. What
Date : Sun Oct 12 2025 10:29 am
pF> The FORTRAN version I started out with was great, the code was quite
pF> readable. I don't know if it was FORTRAN 66 or FORTRAN 77, but back then
pF> the looping was pretty simple. They might have had a GOSUB command back
pF> then, not sure now.
That's what a SUBROUTINE was for under FORTRAN. No GOSUB needed.
But FORTRAN did have some interesting IF and GOTO constructs.
ex: IF (variable) label-1,label-0,label+1
or 2 types of computed GOTOs. One similar to BASIC's ON GOTO. But the other you could set a variable to a label and goto the variable.