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 MaxRowAttrib (FirstRow, LastRow: longint; var Row: integer): integer;

The function MaxRowAttrib returns the maximum attribute of all rows in the range between FirstRow and LastRow. The variable Row returnes the row index of the maximum attribute.

Hint: Setting both FirstRow and LastRow to zero values forces the method to scan all rows of the data table.

Last Update: 2014-Jun-02