Operators
Most programming languages have more 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 operator is concatenate, & in VB6, which connects two strings together:
The relational operators are:
- a < b less than a > b greater than
- a <= b less than or equal to a >= b greater than or equal
- a = b equal to a <> b not equal