From Clomosy Docs

Example

var 
 Arr1: Array [0..5] of Integer;

{
  Arr1[0] = 10;
  Arr1[1] = 20;
  Arr1[2] = 30;
  Arr1[3] = 40;

  ShowMessage('Last index of the array: '+ IntToStr(High(Arr1)));
}

Output:


See Also