The LIST statement outputs the program to the PRINTER IS device. If a device selector is given the output is directed to that device. The starting and ending program line numbers may be specified to limit the portion of the program that is output. If the ending line number is not specified, all lines from the start line number through the last line number are output.
After LISTing a program, the available memory in bytes is displayed on the message line.