Delphi Compiler Error
E2283 Too many local constants. Use shorter procedures
Reason for the Error & Solution
One or more of your procedures contain so many string constant expressions that they exceed the compiler’s internal storage limit. This can occur in code that is automatically generated. To fix this, either shorten your procedures or declare constant identifiers instead of using so many literals in the code.
The and compilers produce E2283 when the code generator gives up after literal/const values exceed 64Kbytes. This 64K limitation applies to string, set, and floating-point values in expressions of a function body, and the limitation is per function.
Currently, the compiler does not produce E2283.