I have this:
and here's how the array is declared:PHP Code:// Make sure the value is at least 0
if (intensityCount[curIntensity]<0) intensityCount[curIntensity]=0;
// Add one
intensityCount[curIntensity]++;
// Sometimes the debugger stops here!!!!
if(intensityCount[curIntensity]==0) System.Diagnostics.Debugger.Break();
byte[] intensityCount= new byte[255];
I don't understand what MIGHT be possibly wrong. I'm assuring the element of the array has a value of at least zero. Then adding 1 to it, and it's still ZERO?!!!!what the heck?? any ideas?




what the heck?? any ideas?
Reply With Quote