what it means, Operator '<' cannot be used with a left hand side of type 'boolean' and a right hand side of type 'float'.

hi… im newbi here… please tell me,. what is this mean?? “BCE0051: Operator ‘<’ cannot be used with a left hand side of type ‘boolean’ and a right hand side of type ‘float’.”

You cannot compare boolean and float. Its like if you were to say: “What is less, 3 kilometers or 20 kilograms?”

boolean only holds 2 values: true or false
float is a decimal number.

So you are saying kinda: is true less than 30? Would work in some loosely typed languages, but not here.

ow… thank you… :smiley: