LIST [ALL]
Purpose
Displays all or part of the current specified program.
{ [start line number] [- [end line number]] }
{ ----------------- --------------- }
LIST { Line number Line number }
{ [.] }
{ [ALL] }
Example
LIST 100
LIST 100 - 300
LIST - 400
LIST
Parameters
- start line number: Integer in the range of 1 <= line number <= 65535
(first line number when start omitted)
- end line number: Integer in the range of 1 <= line number <= 65535
(end line number when end omitted)
Explanation
- Displays the currently specified program in the range specified by the line numbers.
- A minus sign must be used as the delimiter between line numbers.
- The following five examples illustrate specification of the display range.
Command |
Explanation |
LIST |
EXE (All lines from beginning of program) |
LIST 30 |
EXE (Line 30) |
LIST 50-100 |
EXE (Lines 50 through 100) |
LIST 200- |
EXE (From line 200 through end of program) |
LIST -80 |
EXE (From beginning of program through line 80 |
- Using a period in place of the line number displays the most recently handled
(i.e. written, edited, executed). If a program is halted during execution by
an error, executing
LIST .
displays the line in whcih the error was generated.
- When the specified start line number does not exist, the first line number above
that specified is taken as the start line number.
- When the specified end line number does not exist, the greatest line number not
exceeding that specified in taken as the end line number.
- The start line number must be smaller than the end line number.
LIST
command execution can be halted by pressing the BRK
key.
- Press the STOP key to momentarily halt
LIST
command execution. To restart
execution, press the EXE key or one of the alphanumeric keys.
- The computer stands by for command input after the program list is displayed.
- This command cannot be used when a password is registered.
- This command cannot be used in the
CAL
mode.
- Specifying
ALL
displays all programs in sequence from area P0 through P9.
See