The Museum of HP Calculators

HP Forum Archive 01

[ Return to Index | Top of Index ]

HP41 ASCII File Sort Routine?
Message #1 Posted by Paul S. on 24 Aug 1999, 12:34 a.m.

I would like to sort an ASCII file in extended memory, some 100-150 records. I was wondering if anyone ever wrote/came across a routine to do this.

My records are all 24 bytes long and I need to sort the entire length.

I can transfer them to a PC and sort them there and bring them back, but I was looking for a completely 41 based solution.

If anyone could point one out for me I'd appreciate it. I suppose I could write one, but it seemed like something someone would have done before. Thanks.

      
Re: HP41 ASCII File Sort Routine?
Message #2 Posted by DaveC on 25 Aug 1999, 5:30 a.m.,
in response to message #1 by Paul S.

Not much help - I know but I believe there was a sort routine in the PPC ROM.

      
Re: HP41 ASCII File Sort Routine?
Message #3 Posted by Jeffrey Davis on 25 Aug 1999, 6:14 a.m.,
in response to message #1 by Paul S.

There is also a sort routine in the Extended Functions made easy book by Keith Jarrett if I am not mistaken.

      
Re: HP41 ASCII File Sort Routine?
Message #4 Posted by Chuck Ratliff on 26 Aug 1999, 12:21 a.m.,
in response to message #1 by Paul S.

Dearing's 'Calculator Tips and Routines contains five sort routines: Quick Sort, Stack Sort, Synthetic Quick Sort, Smallest/Largest of 3 Numbers, and Synthetic Alphabetize. The latter is, as noted in another response, from PPC ROM- Wickes, Jarrett et. al. I can send the routines if you wish. Good kuck.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall