I have a error line program
If searchR==false then
What do I do ?
error Left operand not equal to Int , real,...
-
km427 -
June 4, 2016 at 12:51 PM -
Thread is 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)