Matrix with two diagonals: Difference between revisions

(Add APL)
Line 1,101:
</pre>
===Fixed form===
{{Works with|gfortranFortran 77}}
Fortran is the oldest high-level programming language. It is constantly evolving and unfortunately there are no longer (or at least I do not have) computers on which to test whether the program works in the old Fortran IV or an even older dialect. The example below should be in Fortran IV, but unfortunately it was tested with a modern Fortran 2018 compiler, so even in legacy mode it is not Fortran IV but Fortran 77. However, it seems that it should work on CDC6000 mainframe ... if someone obviously has CDC6000.
<lang fortran>C DIAGONAL-DIAGONAL MATRIX IN FORTRAN 77