Delphi Compiler Error
E2102 Integer constant too large
Reason for the Error & Solution
You have specified an integer constant that requires more than 64 bits to represent.
program Produce;
const
VeryBigHex = $80000000000000001;
begin
end.
The constant in the above example is too large to represent in 64 bits, thus the compiler will output an error.
program Solve;
const
BigHex = $8000000000000001;
begin
end.
Check the constants that you have specified and ensure that they are representable in 64 bits.