Used to overload the ^ operator, providing custom functionality.
In the function, the other operand is passed as a parameter and is raised to the power specified by the Self instance.
The ordinary (left) methods are always preferred; the Right version is used only if there is no legal left version.
Function Operator_PowerRight(lhs As Vector) As Integer Var a, b As Integer a = Self.x + Self.y b = lhs.x + lhs.y Return b ^ a End Function
All project types on all supported operating systems.