Learn BASIC on the Spectrum
Chapter 13.4