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