global_tryb_telefonu NOT "Praca";
global_tryb_telefonu OR "Praca";
When use NOT in expression it make red color.
It's bug?
expression
Moderator: Martin
Re: expression
Hi,
NOT is an unary operator for things like this:
a=true;
b=NOT a;
Use the == operator to compare two values in a condition:
global_abc == "test";
or
global_abc != "test";
...or in a script with an assignment to a variable result:
result = global_abc == "test";
log(result);
I will clarify the documentation and add an example for the NOT operator.
Regards,
Martin
NOT is an unary operator for things like this:
a=true;
b=NOT a;
Use the == operator to compare two values in a condition:
global_abc == "test";
or
global_abc != "test";
...or in a script with an assignment to a variable result:
result = global_abc == "test";
log(result);
I will clarify the documentation and add an example for the NOT operator.
Regards,
Martin