TDiscreteRecord.MaxValueIndex Constant

const MaxValueIndex: integer;

The index pointing to the Values array field with the highest value.

Remarks:

This index therefore also points to the value of the discrete attribute, which occured most often.