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.
Kind regards
Norbert
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.
Kind regards
Norbert
For this, the documentation is actually correct.
https://documentation.xojo.com/api/math/operator_add.html
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)