RAD Studio (Common)
ContentsIndex
PreviousUpNext
E2102: Integer constant too large (Delphi)

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.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!