Sorry, I just realized my last mail about arrays was wrong. For the 10x15 array you reference element 5,6 by adding 15*5 + 6 to the base address of the array. For the 10x15x20 array you reference element 2,7,1 with 15*20*2 + 7*20 + 1 + the base address. Sorry about using the wrong numbers.