Re: [Ftnpl-develop] pkt2txt maintenance
Brought to you by:
jame
|
From: Robert C. <JC...@te...> - 2001-09-21 16:35:50
|
Russ,
I found some example code for doing numerical sorts on an array =
containing numeric values; unless you're already working on something =
for this, I'll be working on this. Just in the "findhighmsg" subroutine, =
btw, as I think that should be tweaked before anything else is looked =
at...
Jame
>>> "Robert Clay" <JC...@te...> 09/20/01 01:29PM >>>
And I agree that part of the problem is how that "findhighmsg" =
subroutine is running; I don't think it's really finding the highest =
numbered file name... For tossing, that's all it needs to be able to =
do; find the actual highest numbered filename there, & start with the =
next highest after that. And it shouldn't care about gaps in the =
numbering... Perhaps a reverse sort of some sort that would put the =
highest number in the first entry of an array? (Hmm... How easy is it =
to do a actual numerical sort?) Or is there perhaps already available =
some kind of Max function that could find the largest number in a set of =
numbers?
|