hello,
i not understand why there is left and right
Operator_Add
Operator_AddRight
example
a = (b + c)
there is only one + and one result
Xojo calls Operator_Add if b is your class and Operator_AddRight if b is e.g. a double and c your class.
e.g.
a = Operator_Add(b, 1.0)
or
a = Operator_AddRight(1.0, c)
so you can add something to your class wether it’s left or right.
thanks,
i was confused because one of them works if b and c is a class.