Hi,

My program has a 2-dimensional grid. Basically it's a grid of 19x19 and bunch of '0's. I want to be able to count diagonally when I insert 'x's that are diagonal... such as...

0000x

000x0

00x00

0x000

x0000

I was able to figure out the horizontal counters and vertical counters, but I seem to be having trouble making a loop of counter for diagonal 5-in-a-row of 'x's.

Thanks.