8.2.8 Exponentiation Operator (^)

Used to raise a number to the power of an exponent.
Syntax
result = expression^exponent
Arguments
- result
- Any numeric variable.
- expression
- Any numeric expression.
- exponent
- Any numeric expression.
Remarks
Number can be negative only if exponent is an integer value. When more than one exponentiation is performed in a single expression, the ^ operator is evaluated as it is encountered from left to right.
If either expression or exponent is a Null expression, result is also Null.
Copyright © 2000 Chili!Soft
|