GreenZ
07-19-2003, 10:18 PM
I have a listbox which contains String values. There is duplicate strings in the list.
So I then search through the list and add how many times a particular string repeats itself and put that number into an array.
I need help to find the largest value in that array please.
*Also I set the array with the upper bound to some arbitrary number 100 because I wanted to set it to the list1.listcount value but it complained it needed to be set to a constant variable?
*Where can I find an algorithm to search for largest value in an array?
Thanks.
So I then search through the list and add how many times a particular string repeats itself and put that number into an array.
I need help to find the largest value in that array please.
*Also I set the array with the upper bound to some arbitrary number 100 because I wanted to set it to the list1.listcount value but it complained it needed to be set to a constant variable?
*Where can I find an algorithm to search for largest value in an array?
Thanks.