Glad you got it working.
Type: Posts; User: Norm
Glad you got it working.
What is the value of the index that is out of bounds? It is usually shown in the error message.
What are the values of m and j when the error happens?
If you have a working program, what needs...
Can you explain what the "error" is?
Can you explain what the code is supposed to do? Perhaps by giving an example of the input and the output (or the before and after)