When I was writing a lot of Fortran code, I found it helpful to use the RATFOR preprocessor. See https://en.wikipedia.org/wiki/Ratfor I didn't try the later variant ratfiv https://github.com/arnoldrobbins/ratfor ratfiv https://www.ibiblio.org/pub/academic/computer-science/history/pdp-11/rsx/decus/rsx82a/330015/
----- Original message ----- From: Anton Shepelev via Freedos-devel <[email protected]> To: [email protected] Cc: Anton Shepelev <[email protected]> Subject: Re: [Freedos-devel] SORT in Open Watcom FORTRAN? Date: Monday, August 17, 2026 12:15 PM Jim Hall: > Someone on the FreeDOS Facebook group is exploring F77 > programming using Open Watcom FORTRAN, and they > recently asked about sorting. Try this: Efficient Sorting Routines in Fortran 77: PDF: <https://www.newcastle.edu.au/__data/assets/pdf_file/0019/22483/08_Efficient-sorting-routines-in-FORTRAN-77.pdf> SRC: <https://github.com/ivan-pi/hs-sort/tree/main/src> The problem is not specific to Fortran, so that an algorithm (e.g. Heapsort) can be ported from an implementation in another language. _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
