in reply to Erroneous defined detection of array elements
How about starting with your code and a tiny sample input data set that demonstrates the issue. Then whittle the code down to a smallest possible test script that still demonstrates the problem. Then show us the result - if you've not solved the problem yourself in the process.
It is very likely that there is an interaction going on between parts of your code that you haven't noticed. At some point in the whittling process your are almost certain to make the connection.
|
|---|