Declaration: TDataTable.Resize (NrCols, NrRows: integer);
The method Resize serves to change the dimensions of the data table. The parameters NrCols and NrRows specify the intended size of the matrix (number of columns and number of rows). Any excess matrix elements which are not covered by the original matrix are set to zero values.

Hint: The method Resize is much more efficient than assigning the new table dimensions to the properties NrOfColumns and NrOfRows. It is therefore strongly recommended to use Resize whenever both dimensions of the table have to be changed.