Delphi Error – E2156 Expression too complicated

Delphi Compiler Error

E2156 Expression too complicated

Reason for the Error & Solution

The compiler has encounter an expression in your source code that is too complicated for it to handle.

Reduce the complexity of your expression by introducing some temporary variables.