Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualysg

Posted 06 May 2013 - 09:25 PM

The weird thing, is that while I'm tracing the code, when row is being incremented and it becomes 4, it _still_ goes into the loop and then tries to go to newMatrix[4, 0], which makes sense that I'm getting the exception.

But what doesn't make ANY sense is the fact that it's getting into the loop body after row is equal to 4. At that point, the loop should have stopped long ago.

[edit]

Never mind, 0 < this.Rows is just stupid smile.png .

#1ysg

Posted 06 May 2013 - 09:16 PM

The weird thing, is that while I'm tracing the code, when row is being incremented and it becomes 4, it _still_ goes into the loop and then tries to go to newMatrix[4, 0], which makes sense that I'm getting the exception.

But what doesn't make ANY sense is the fact that it's getting into the loop body after row is equal to 4. At that point, the loop should have stopped long ago.

PARTNERS