#
Repetition

Up to now, we have dealt with plain values: that is, values with modes `INT`, `REAL` or `CHAR`. In practice, plain values are of limited use when dealing with a lot of data. For example, commercial programs are continually dealing with strings of characters and engineers use vectors and matrices. In this chapter, we start the process of building more complicated modes. Firstly, we consider repetition of values.

Subsections

- Multiples
  - Row-displays
  - Dimensions
  - Subscripts and bounds
  - Exercises
- Slicing
  - Exercises
- Trimming
  - Exercises
- Printing multiples
  - Exercises
- Operators with multiples
  - Exercises
- Ranges
- Program repetition
  - Exercises
- Nested loops
  - Exercises
- Program structure
- The `FORALL` loop
- Summary
  - Exercises