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



CopyCellsToVector


Unit:SDL_datatable
Class: TDataTable
Declaration: function CopyCellsToVector (LowCol,LowRow,HighCol,HighRow: integer; CellState: byte; DestVect: TVector): integer;

The function CopyCellsToVector copies all valid numeric cells which match the specified criteria to the vector DestVect. The size of DestVect is adjusted accordingly. The function returns the number of copied cells.

The parameters LowCol, LowRow, HighCol, and HighRow specify the indices of the range of elements to be copied. The parameter CellState defines the cell states which have to be true in order to be included in the copy process (logical OR of the cell states).

Hint: Setting both the low and high parameter of a dimension (i.e. LowCol and HighCol) to zero values forces the method to use all elements of that dimension.



Last Update: 2023-Dec-14