Xojo Documentation Xojo Documentation

  • Home
  • Download Xojo
  • Recent changes
  • MediaWiki Info
  • Get Started with Xojo
  • QuickStarts
  • Tutorials
  • Books
  • Welcome!
  • Fundamentals
  • User Interface
  • Framework
  • Technical Information
  • Programming Language Commands
  • Framework
  • iOS Framework
  • System Requirements
  • Release Notes
  • Deprecations
  • Videos
  • Example Projects
  • FAQ
  • International
  • Feedback
  • Usage
  • Copyrights and Trademarks
  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
  • Page information
  • Log in
  • Xojo Documentation
  • Home
  • Download Xojo
  • Recent changes
  • MediaWiki Info
  • Get Started with Xojo
  • QuickStarts
  • Tutorials
  • Books
  • Welcome!
  • Fundamentals
  • User Interface
  • Framework
  • Technical Information
  • Programming Language Commands
  • Framework
  • iOS Framework
  • System Requirements
  • Release Notes
  • Deprecations
  • Videos
  • Example Projects
  • FAQ
  • International
  • Feedback
  • Usage
  • Copyrights and Trademarks
  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
  • Page information

Operator Overloading

From Xojo Documentation

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

Contents

  • 1 Math
  • 2 Boolean
  • 3 Other
  • 4 Example Projects
  • 5 See Also

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

  • Operator_Lookup
  • Operator_Convert
  • Operator_Redim
  • Operator_Subscript

Example Projects

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

See Also

Operator Precedence topic

Retrieved from "http://docs.xojo.com/index.php?title=Operator_Overloading&oldid=57555"
  • This page was last edited on 10 January 2019, at 22:40.
  • Privacy policy
  • About Xojo Documentation
  • Disclaimers
  • Send Doc Feedback
  • Powered by MediaWiki