Hi Ken,

You are quite welcome.  Always happy to try to help.

BFN

----- Original Message -----
Short and smple.. Sweet.  thanks
----- Original Message ----- From: "Jim Kitchen" <j...@kitchensinc.net>
To: "Ken" <Gamers@audyssey.org>
Sent: Tuesday, February 28, 2012 5:22 AM
Subject: Re: [Audyssey] Score Sorting


Hi Ken

Below nop is the number of players slash scores to sort. sort1 and sort2 are just temperary variables as is tpnm.

I believe though that this will sort lowest on top, so I believe that if in the third line you change the less than sign to a greater than sign, it will do what you need.

For sort1 = 1 To nop - 1
For sort2 = sort1 To 1 Step -1
If score(sort2 + 1) < score(sort2) Then
tpnm = score(sort2)
score(sort2) = score(sort2 + 1)
score(sort2 + 1) = tpnm
Else
Exit For
End If
Next sort2
Next sort1

HTH

BFN

    Jim

How is the President Bush prescription drug plan working?

j...@kitchensinc.net
http://www.kitchensinc.net
(440) 286-6920
Chardon Ohio USA

    Jim

Yet another fine whine from Chardon eh?

j...@kitchensinc.net
http://www.kitchensinc.net
(440) 286-6920
Chardon Ohio USA
---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
You can make changes or update your subscription via the web, at
http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gamers@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.

Reply via email to