Is there and "if' limit? "if" too complex expression error
Hello forum, would someone mind telling me if there is a limit to the number of "if" functions you can use in a section of code, and if yes, what the limit is.
I am getting the following as an error when compiling my code:
"if" too complex expression error
I have had the code compile successfully with a combination of "if" and 3 times "if else"
but when I introduce one more level, I get the error message
Then again, I am a newbie with this and maybe the error relates to something else
thanks in advance
davep
My EA has 6 if-else loop and it works fine.
Your code is having some syntax error, post your old & new code to check...
Hello forum, would someone mind telling me if there is a limit to the number of "if" functions you can use in a section of code, and if yes, what the limit is.
I am getting the following as an error when compiling my code:
"if" too complex expression error
I have had the code compile successfully with a combination of "if" and 3 times "if else"
but when I introduce one more level, I get the error message
Then again, I am a newbie with this and maybe the error relates to something else
thanks in advance
davep