DIM is essentially VAR. It declares variables and arrays. The name is from DIMension, like how VAR is from VARiable. Many people will use VAR for variables only and DIM for arrays only.