Integer.MaxValue

Syntax

MaxValue: Integer;

Description

The MaxValue property returns the maximum integer value.

Example

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:

Integer