LIST

BASin

LIST

Command/Statement

LIST produces a listing of the program currently in memory.

How to use LIST

LIST is normally used as a direct command but may form a statement in a program. To list a complete program from the first line, it is used alone. After the direct command

LIST

the first page of the listing appears and subsequent pages will scroll up the screen at the touch of any key except N, the space bar or BREAK at the "Scroll?" prompt.

LIST may also be followed by a line number, in the form of a numeric value, for example

LIST 100

The value following LIST is then rounded to the nearest integer if necessary, and the listing commences at this line. If there is no line with this number then the listing commences at the next line.

Format

  • LIST [int-num-expr]

See also

Chapter 2.