Product Information > JADE Error Messages and System Messages > 6000 through 6999 - JADE Compiler Errors > 6441 - The expression is too complex

6441   The expression is too complex

Cause

This error occurs if you attempt to compile a method that has a large expression that has greater than 4,000 consecutive operand/operator pairs; for example, a method containing a Binary constant that is the result of concatenating more than 5,000 literal values.

Action

Avoid the compile error by changing the expression to concatenate a series of subexpressions enclosed in parentheses, where each subexpression has significantly fewer than 4,000 operands.

The following string expression can be changed to use subexpressions, as is shown in the second example.

"a" & "b" & "c" & "d" & "e" & "f" & "g" & "h" & "i" & "j" & "k" & "l"
("a" & "b" & "c") & ("d" & "e" & "f") & ("g" & "h" & "i") & ("j" & "k" & "l")