hi,

there's an array of integers with a known length (about 10 - 20 elements) and some initiated values (between 0 to 20). i want to loop through its values and modify it one by one.

as a sample, suppose that this array has 4 elements and each element is set to number 3. i would like to get something like this:

3 3 3 3
3 3 3 2
3 3 3 1
3 3 3 0
3 3 2 3
3 3 2 2
.
.
.
3 1 0 3
3 1 0 2
3 1 0 1
3 1 0 0
3 0 3 3
3 0 3 2
.
.
.
0 0 0 3
0 0 0 2
0 0 0 1
0 0 0 0

thanks for your help,
Sean