|
-
Aug 31st, 2008, 03:08 PM
#1
Thread Starter
New Member
Sorting integers in an array
I am making an application that displays the highest score in one range of numbers, and displays the highest score in another range of numbers. I have a 2 dimensional array built and am wondering how to sort them then get the top number to display.
this is the statement I use:
Array.Reverse(scores(1, column))
This ensures that I take from the correct column, but the problem I have is I get a message stating for the underlined code:
value of type 'Integer' cannot be converted to System.Array
I'm confused because I thought that scores(,) is an array already.
Thanks in advance for any help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|