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....


Class: TDataTable
Declaration: function 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 (14, $A4); assigns a TRUE value to the variable "test" if at least one of the cell states of row 14 has either bit 7, or bit 5, or bit 2 set to 1 ($A4 = 10100100).

Last Update: 2023-Dec-14