Operators
CONCEPT: Operators are used to combine expressions (logical operators) or to compare expressions (relational operators)
Most programming languages have more logical operators than a pocket calculator
- Operators like + taking 2 operands are called binary: a + b
- Operators like - taking 1 operand are called unary: - a
-
A very useful logical operator is concatenate, & in VB6, which connects two strings together: