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 MaxColAttrib (FirstCol, LastCol: longint; var Col: integer): integer;

The function MaxColAttrib returns the maximum attribute of all columns in the range between FirstCol and LastCol. The variable Col returns the column index of the maximum attribute.

Hint: Setting both FirstCol and LastCol to zero values forces the method to scan all columns of the data table.

Last Update: 2020-Aug-14