Undefined operator - Problems with Overloading

Hello, I have a problem trying to use an add operator in my own class. I have attached an example. Have I missed something? The Xojo help isn’t helping me either.

Test Projekt

Kind regards


For this, the documentation is actually correct.


Operator_Add is not a Shared Method (so remove that one) and only takes one input, the right-hand side of the equation (remove the left parameter from your function)

1 Like