I have a error line program
If searchR==false then
What do I do ?
error Left operand not equal to Int , real,...
- km427
- Thread is marked as Resolved.
-
-
Please post whole code
-
is searchR declared as boolean?
-
If i remember correctly you must assign the variable a value before doing logic. Have you done that. In Kuka world a bool can have three states false, true and unknown.
Please correct me if I remember wrong.
-
you are correct but that produces different message. message here indicates that data types don't match... robot will try to cast data type automatically where possible, but... one cannot assign or compare INT or REAL variable with BOOL (TRUE/FALSE)
Create an account or sign in to comment
You need to be a member in order to leave a comment