The DIM command dimensions a vector or matrix before any data is defined. This is useful if the data for a given variable or matrix comes from several sources. In this case, COPY commands are useful for filling the previously dimensioned vector or matrix. If only one number is given, SHAZAM assumes the var is a vector. If two numbers are given, SHAZAM assumes that the var specified is a matrix and that the first number given specifies the rows of the matrix, and the second number specifies the columns. More than one vector or matrix can be dimensioned with a single DIM command.
In general, the format is:
DIM var size var size