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



CountMarkedCellsInRow


Unit:SDL_datatable
Class: TDataTable
Declaration: function CountMarkedCellsInRow (Row: integer; StateMask: byte): integer;

The function CountMarkedCellsInRow counts all cells in row Row whose cell state matches the bit mask parameter StateMask; i.e. a cell is counted as marked if a bitwise AND of the cell state and the StateMask parameter does not result in a zero value.


Last Update: 2023-Dec-14