Hello,
this is my poorly written chain of IfElse conditions(I also tried in ternary operator)
https://smalldev.tools/share-bin/IjBFXr6C
screnshot:
My text editor says: 402 lines 26802 characters, which is below the max limit mentioned here in the docs
The maximum length of an expression is 65535 characters.
If your expression approaches this limit, you should consider whether there might be a shorter way to write it.
But it is throwing error "Failed to compile expression"
But as i was cutting down some lines, to test max limits, I found a different error: Failed to compile expression. 16: Compiler recursion too deep
Hello,
this is my poorly written chain of IfElse conditions(I also tried in ternary operator)
https://smalldev.tools/share-bin/IjBFXr6C
screnshot:
![667cfd4ce90a3](serve/attachment&path=667cfd4ce90a3)
My text editor says: **402** lines **26802** characters, which is below the max limit mentioned [here in the docs](https://www.vtscada.com/help/Content/Scripting/Expressions/ExpressionIntro.htm)
> The maximum length of an expression is **65535** characters.
If your expression approaches this limit, you should consider whether there might be a shorter way to write it.
But it is throwing error "Failed to compile expression"
But as i was cutting down some lines, to test max limits, I found a different error: **Failed to compile expression. 16: Compiler recursion too deep**
edited Jun 28 at 12:22 am