Caché Basic Operators
- Operator Summary – A list of Caché Basic operators by type.
- Operator Precedence – Operator Precedence
- Addition Operator (+) – Used to sum two numbers.
- Subtraction Operator (–) – Used to find the difference between two numbers or to indicate the negative value of a numeric expression.
- Mod Operator – Used to divide two numbers and return only the remainder.
- Multiplication Operator (*) – Used to multiply two numbers.
- Division Operator (/) – Used to divide two numbers and return a floating-point result.
- Integer Division Operator (\) – Used to divide two numbers and return an integer result.
- Exponent Operator (^) – Used to raise a number to the power of an exponent.
- Assignment Operator (=) – Used to assign a value to a variable or property.
- Comparison Operators – Used to compare expressions.
- Concatenation Operator (&) – Used to force string concatenation of two expressions.
- Is Operator – Used to compare two object reference variables.
- And Operator – Used to perform a logical conjunction on two expressions.
- BitAnd Operator – Used to perform a bitwise conjunction on two numeric expressions.
- Eqv Operator – Used to perform a logical equivalence on two expressions.
- BitEqv Operator – Used to perform a bitwise equivalence on two numeric expressions.
- Imp Operator – Used to perform a logical implication on two expressions.
- BitImp Operator – Used to perform a bitwise implication on two numeric expressions.
- Not Operator – Used to perform logical negation on an expression.
- BitNot Operator – Used to perform bitwise negation on a numeric expression.
- Or Operator – Used to perform a logical disjunction on two expressions.
- BitOr Operator – Used to perform a bitwise disjunction on two numeric expressions.
- Xor Operator – Used to perform a logical exclusion on two expressions.
- BitXor Operator – Used to perform a bitwise exclusion on two numeric expressions.