MaxValue: Integer;
The MaxValue property returns the maximum integer value.
Sub Main;
Var
i: Integer;
Begin
i := Integer.MaxValue;
End Sub Main;
After executing the example the "i" variable will contain the maximum value of the Integer type, that is, 2147483647.
See also: