Edit

Share via


BC33000: Operator declaration must be one of: +,-,*,,/,^, &, Like, Mod, And, Or, Xor, Not, <<, >>...

You can declare only an operator that is eligible for overloading. The following table lists the operators you can declare.

Type Operators
Unary +, -, IsFalse, IsTrue, Not
Binary +, -, *, /, \, &, ^, >>, <<, =, <>, >, >=, <, <=, And, Like, Mod, Or, Xor
Conversion (unary) CType

Note that the = operator in the binary list is the comparison operator, not the assignment operator.

Error ID: BC33000

To correct this error

  • Select an operator from the set of overloadable operators.

  • If you need the functionality of overloading an operator that you cannot overload directly, create a Function procedure that takes the appropriate parameters and returns the appropriate value.

See also