LIST - DualBrain/bsharp Wiki
To list all or part of a program to the screen, line printer, or file.
LIST [line number][-line number][,filename]
LIST [line number-][,filename]
line number is a valid line number within the range of 0 to 65529.
If filename is omitted, the specified lines are listed to the screen.
Use the hyphen to specify a line range. If the line range is omitted, the entire program is listed. line number- lists that line and all higher numbered lines. -line number lists lines from the beginning of the program through the specified line.
The period (.) can replace either line number to indicate the current line.
Any listing may be interrupted by pressing CTRL-BREAK.
Lists all lines in the program.
Lists lines 1 through 20.
Lists lines 10 through 20.
Lists lines 20 through the end of the program.