Hi I try do add a condition myvalue="test" to change highlighting.
I get "ReferenceError: left-hand side of assignment operator is not an lvalue"
I tried to use myvalue = 'test' myvalue = test
no luck version 3.0
Please check your syntax. Take a look at the manual. You use wrong. Correct is [myvalue] = 'test'
I have correct syntax in the condition I did a typo in the bugreport, the bug is still valid
I have tried [myvalue] = test [myvalue] = 'test' [myvalue] = "test" all of those fail In the debug I get
setting value [ "myvalue" ]= QVariant(Invalid) Uncaught exception at line 1 : "ReferenceError: left-hand side of assignment operator is not an lvalue"
Basic of programming language like C++, JavaScipt, etc. For comparig you should use two == instead of =
That works, thanks!
Log in to post a comment.
Please check your syntax. Take a look at the manual. You use wrong. Correct is
[myvalue] = 'test'
I have correct syntax in the condition
I did a typo in the bugreport, the bug is still valid
I have tried
[myvalue] = test
[myvalue] = 'test'
[myvalue] = "test"
all of those fail
In the debug I get
Basic of programming language like C++, JavaScipt, etc.
For comparig you should use two == instead of =
That works, thanks!