Remix.run Logo
Hizonner 5 days ago

I'm not sure one line of that would compile in FORTRAN 66, even if you indented it properly. Been so long I'm not sure...

rahen 5 days ago | parent | next [-]

The reverse is true though, and I find that fascinating with Fortran.

I recently learned Fortran IV to build a backpropagated neural network for the IBM 1130 (1965) and was amazed to see it compile with no warning on both the punched card compiler from IBM and on a modern Fortran compiler (gfortran).

Some Fortran II conventions, like the arithmetic IF, are now deprecated, but --std=legacy is all it takes to make it work.

AdieuToLogic 5 days ago | parent | prev [-]

I was taken aback by the code using lowercase. Didn't know EBCDIC[0] could do that... :-D

0 - https://en.wikipedia.org/wiki/EBCDIC