Operator Overloading
From Xojo Documentation
You can add these methods on classes to override operator support:
Contents
Math
- Operator_Add, Operator_AddRight
- Operator_Subtract, Operator_SubtractRight
- Operator_Multiply, Operator_MultiplyRight
- Operator_Divide, Operator_DivideRight
- Operator_IntegerDivide, Operator_IntegerDivideRight
- Operator_Modulo, Operator_ModuloRight
- Operator_Negate
- Operator_Power, Operator_PowerRight
Boolean
- Operator_And, Operator_AndRight
- Operator_Compare
- Operator_Not
- Operator_Or, Operator_OrRight
- Operator_XOr, Operator_XOrRight
Other
Example Projects
- Examples/Language Features/OperatorLookup
- Examples/Language Features/OperatorOverload
See Also
Operator Precedence topic