Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 575 Bytes

0100.md

File metadata and controls

28 lines (18 loc) · 575 Bytes

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