Extended array error messages

Using array[1][2][3] on an array[1][2] gives error etc.