Declaration: |
TDataTable.Fill (LowCol, HighCol, LowRow, HighRow: integer; Value: double); |
The method Fill sets the elements of a particular rectangular region of the data table to Value.
The region is specified by the parameters LowCol, HighCol, LowRow and HighRow).
|
Hint: |
Setting both the low and high parameter of a dimension (i.e. LowCol and HighCol) to zero values forces the method to use all elements of that dimension. |
Example: |
The statement Mat.Fill(0,0,3,4, 80); sets all elements of third and fourth row of the data table to a value of 80.
|
|