On 8/8/2026 2:08 PM, Jim Hall via Freedos-devel wrote:
Someone on the FreeDOS Facebook group is exploring F77 programming
using Open Watcom FORTRAN, and they recently asked about sorting.
I don't know FORTRAN very well (at least, not anymore) but I know
there isn't a "sort" routine provided in the standard FORTRAN 77
library. I looked through the Open Watcom FORTRAN documentation and I
don't see a "sort" routine there either.
But maybe I missed it. Does anyone here write FORTRAN programs in Open
Watcom FORTRAN?
Don't write in FORTRAN (nor Fortran) for quite a while now myself. But I
am pretty certain that there is no standard/default sort routine up to
FORTRAN 77. That was one of the reasons why on the last larger project
that I participated in written in FORTRAN 77, we decided to switch to
Fortran 95, not only because of the more free-form of source code
writing, but there was a "stdlib" effort to add all kinds of (open
source) library routines to Fortran 95, and stdlib.sorting was one of them.
I have seen his efforts on writing stuff in FORTRAN 77, but for me this
is a typical example of "using the best tool for a given task".
FORTRAN/Fortran is great with doing (scientific) mathematical stuff, but
strings and other more general data processing task are RPITA on a good
day...
Ralf
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel