I think I understand your first post now and the logic would go something like this.
I have a multidimensional array of 16 rows and 60 columns per row called 'weights'.
I have an array of 16 rows called 'error'.
I assume the first element in the 'error' array has the lowest error and I'll call that element 'lowest' (no variable)
While the number of the row is less than 16
if the next element of 'error is less than 'lowest'
Switch values of 'lowest' and current element
While X is 0 and X is less than 60
Switch values of rows of same index as 'lowest' and the current element in the 'weights' array
X increases by 1
Something like that
If you need more help say so and I'll try to help if I can.
Good luck
Last edited by emotionalone; Nov 20th, 2008 at 10:47 pm.