0100: Invalid operator

Compiler found an operator that is not supported in the current context. At the moment this error is being thrown when anything other than the assignment operator = is used after the list of variables:

int a, b

a, b > 5 // error, > is invalid

Possible solutions:

  • check your expression. Use the = operator after a comma-separated list of variables:

int a, b

a, b = Car.GetColors(car)
  • use one variable with other operators:

int a, b

a > 5
b > 5

Last updated