You got 3 loops, and the innermost (k) one will run every time, the midle

one (j) will run each time the innermost one is finished, and the outer

one (i) will run every time the middle one is finished

so the result will be

i, j, k

i, j, k+1

i, j, k+2

....

i, j+1, k

i, j+1, k+1

i, j+1, k+2

....

i, j+2, k

i, j+2, k+1

i, j+2, k+2

....

....

....

....

....

....

i+1, j, k

i+1, j, k+1

i+1, j, k+2

....

i+1, j+1, k

i+1, j+1, k+1

i+1, j+1, k+2

....

i+1, j+2, k

i+1, j+2, k+1

i+1, j+2, k+2

....

....

....

i+2, j, k

i+2, j, k+1

i+2, j, k+2

and so on.

The result will indeed be

1 1 1

1 1 2

and so on, but it will write so fast you won't see the first results

--

The hotmail account will most likely not be read, so please respond only

to the news group.