DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


IfRowHasCellState

Declaration: TDataTable.IfRowHasCellState (row: longint; CellState: byte): boolean;
The function IfRowHasCellState returns TRUE if the row row contains at least one cell with a cell state which matches the state mask defined by the parameter CellState.

Example: The statement test := IfRowHasCellState (4, $A0); assigns a TRUE value to the variable "test" if at least one of the cell states of row 4 has either bit 7 or bit 5 set to 1 ($A0 = 10100000).