PDA

View Full Version : File Sort Procedure for Fortran95


infocorp
05-07-2004, 03:28 AM
Are you able to recommend a file sort procedure for use with LF95?

I have a need to conduct file sorts with as many as 40 or more keys. An appropriate procedure could be an external dll or a subroutine with Fortran source code.

I am aware of Opttech Sort, however, it's dll does not conform to the calling conventions of
Lahey Fortran95.

tzeis
05-07-2004, 07:46 PM
There is a commercial sorting package called Opttech:
http://www.hallogram.com/opttech/
If you don't want to cough up for a package, try doing a google search on the words "key", "sort", "fortran". Numerous hits come up, perhaps one of them will do the trick.

infocorp
05-08-2004, 06:59 AM
I have a copy of Opttech Sort but it does not conform to the dll calling conventions of Fortran95.

tzeis
05-10-2004, 05:09 PM
Most Fortran compilers (including LF95) let you specify a variety of calling conventions. I recommend that you use the Visual C calling convention (-ml msvc) to call the Opttech routines.