DIM stands for dimension. You can refer to three dimension array like ?D[X,Y,Z]. What is three dimension... Imagine a development with plural apartment buildings. Before you visit your friend live in there, you have to clarify three numbers (building number, floor number and room number) Imagine one, two or four dimension with the same way.