2.1. Numbers and Arithmetic Operations: Basic Interpreter Usage2.1.1. Addition, Subtraction, Multiplication, Division, and Exponentiation2.1.2. Interacting with the Interpreter2.1.3. Other Notations for Numbers2.2. Interpreter Know-How2.2.1. Quitting the Interpreter2.2.2. Interpreter Shortcuts2.3. Numerical Gotchas2.3.1. Division by Zero and Overflow2.3.2. Floating-Point Rounding2.4. Variables and Assignment2.4.1. Assignment Basics2.4.2. Multiple Assignment2.4.3. Variables on the Right Side of Assignments2.5. Strings2.5.1. Quoting Strings2.5.1.1. Quoting Strings with Double Quotes2.5.1.2. Quoting Strings with Single Quotes2.5.1.3. Quoting Strings with Square Brackets2.5.2. Backslash Escaping2.6. Relational Operators and Boolean Values2.6.1. Comparing Numbers2.6.2. Comparing Strings2.7. The nil Value2.8. Boolean Operators2.8.1. The and Operator2.8.2. The or Operator2.8.3. The not Unary Operator2.9. The Concatenation, Length, and Modulo Operators2.9.1. The String Concatenation Operator2.9.2. The Length Operator2.9.3. The Modulo Operator2.9.3.1. Try It Out: Using % to Model a Clock Face2.9.3.2. How It Works2.10. Automatic Conversion of Operands2.11. Precedence and Associativity2.12. Variables and Values2.13. Comments2.14. Expressions and Statements2.15. Compound Statements2.15.1. The if Statement2.15.1.1. Try It Out: Using if to Make a Choice2.15.1.2. How It Works2.15.2. The while Loop2.15.3. The for Loop2.15.4. The repeat Loop2.15.5. The break and do Statements2.16. Summary2.17. Exercises