| AND | Index Level | dimensioned array |
| Syntax | |
| Category | BASIC |
| Type | Definition |
| Description |
perform mathematical calculations on any set of operand expressions.
Symbol precedence operation ^ 1 exponentiation * 2 multiplication / 2 division \ 2 remainder + 3 addition - 3 subtraction Expressions are evaluated in order of precedence unless placed within parentheses. Expressions at the same precedence evaluate left-to-right: 10+2*10 evaluates to 30. Expressions within the innermost parentheses are evaluated first: (10+2)*10 evaluates to 120. (10+(2*10)) evaluates to 30. |
| Options | |
| See Also | logical expressions precedence string expressions \= operators arithmetic operators - *= += -= /= := ( ) + * |
| Example | |
| Warnings | For program clarity, it may be useful to use parentheses in arithmetic operations, rather than relying on the precedence of the operator. |
| Compatibility | D3 7.0 AP R83 |
| AND | Index Level | dimensioned array |