FillIntMatrix

Declaration: FillIntMatrix(var Mat: TInt2DArray; Value: integer);
Sets all elements of the two-dimensional dynamic array Mat to Value. The function returns the following error codes:
 0 ... everything is OK
-1 ... the matrix has zero size