The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



CRCofCellStates


Unit:SDL_datatable
Class: TDataTable
Declaration: function CRCofCellStates: string;

The function CRCofCellStates calculates a 256-bit CRC code over the cell states of all cells of the data table. The CRC code is returned as a hexadecimal string of 64 characters.

Hint 1: Please note that the CRC code cannot be unique but there is only an extremely small chance to get a hash code collision. Thus the CRC code can be used to check whether the cell states of two data tables are different (if the CRCs differ the cell states must be different), however there is a very small chance that the CRCs of two different tables are equal.

Hint 2: In order to detect the change of any aspect of the data table you have to use the following three functions: CRCofCellStates, CRCofNamesAndAttributes, and NumericData.CRCofData



Last Update: 2023-Dec-14