257 LIST Purpose This command makes the computer list whatever program it has in its memory. It is often used before typing RUN to ensure that there aren’t any typing errors in the program just entered. You can list a single line LIST 280 or a range of lines LIST 100,450 or the whole program LIST LIST 400, will list all lines beyond line 400. LIST ,400 will list all lines up to and including line 400. If you have a very long program you may see the whole listing whiz past before you have time to read it. To stop it, and to make the computer stop at the bottom of each page you can type CTRL N (while holding down the key marked CTRL press the letter N). Then type LIST .
This is called ‘page mode’ and the computer stops at the bottom of each page. The next page will be printed when the SHIFT key is pressed. To return to ‘scroll mode’ type CTRL O (hold CTRL down while briefly pressing O). Pressing CTRL and SHIFT together immediately pauses a listing, and pressing ESCAPE will stop a listing so that corrections can be made to the program. If you want a listing on the printer then you can turn the printer on by typing CTRL B before typing LIST . To turn the printer off afterwards type CTRL C . LIST is a command and cannot be used as part of a program or as part of a multiple statement line.
The layout of programs as listed can be controlled by the command LISTO (see next entry). As an option, the computer can be instructed to insert spaces for the duration of all FOR...NEXT and REPEAT...UNTIL loops.