Sets / returns the number of matrix columns.
MatrixObject.Cols = NumOfCols NumOfCols = MatrixObject.Cols
Read / write. Long integer representing the number of matrix columns.
You can either use Size method or set both Rows and Cols properties, in order to size a matrix.
Resizing a matrix preserves its previous data.
Error 1302 is returned if NumOfCols parameter is less than 1 or greater than MaxSize property.