Error 1. Operation not allowed. Operator/operand type mismatch.

An arithmetic, string, logical or comparison operator is being used with an invalid data type. This error would occur, for example, if you were to attempt to multiply two string values.


a =
"x" * 5; // wrong, can not multiply string by number
b =
"x" - "y"; // wrong, can not subtract strings

z = "x" + "y"; // correct, concatenation of strings is OK