Operator Overloading

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!


Concept


The function of mathematical operators can be changed. This is called operator overloading.

Notes

You can add these methods on classes to override operator support:

Math

Boolean

Other

Example Projects

  • Examples/Language Features/OperatorLookup
  • Examples/Language Features/OperatorOverload

See Also

Operator Precedence topic