Declaration: SaveMat3DBin(FName: string; Data: TDouble3DArray; DataID: string): integer;
The procedure SaveMat3DBin stores the three-dimensional array Data in the binary file specified by the parameter FName. The parameter DataID may contain any single-line user-defined identifier which is stored with the data.

The function always returns zero.

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