I have been using XojoScript in small ways for some years. I usually build a string into an expression and allow XojoScript to return what it evaluates (example: ‘(1+2+3) *3’)
Now I have need to evaluate a simple conditional expression (example: ((if (1+3+0+4)>=5 then “10” else “0”)). I get a compile error.
Is there a way to do this?