Declaration: LoadIntMatrixBin(FName: string; var Data: TInt2DArray; var DataID: string): integer;
The function LoadIntMatrixBin loads the data of an array previously stored by the function SaveIntMatrixBin into the array Data. The parameter FName specifies the filename of the stored array, the variable parameter DataID returns any single-line user-defined data identifier.

The function returns the following error codes:

 0 ... everything is OK
-1 ... cannot read file FName (missing or invalid format)

Hint: Please note that the functions LoadIntMatrixBin and SaveIntMatrixBin are highly optimized and should be routinely used for storing arrays.