| ALPHA | Index Level | arithmetic expressions |
| Syntax | expression AND expression |
| Category | BASIC |
| Type | Operator, Logical |
| Description | indicates that both components of a logical expression must be true. |
| Options | |
| See Also | logical expressions & |
| Example |
if tax = 0 and value > 0 then...
The expression "tax = 0 and value > 0" is true when "tax" equals "0" and "value" is greater than "0". if counter > max and value > 10 and y < 100 then... The expression "counter > max and value > 10 and y < 100" requires more all three logical expressions to be true for the complete expression to be true. |
| Warnings |
The "and" operator modifies numeric expressions only, otherwise, the following runtime warning message is displayed:
[b16] in program 'pgm', line n: Non-numeric data when numeric required; zero used. |
| Compatibility | D3 7.0 AP R83 |
| ALPHA | Index Level | arithmetic expressions |