Tandy 1000 Basic Reference Manual page 206

Hide thumbs Also See for 1000:
Table of Contents

Advertisement

Chapter
10 I
BASIC Keywords
LIST
Statement
LIST startline-endline [,deuicel
Lists a program in memory to the display.
Startline
specifies the first line to be listed. If you omit
startline,
BASIC starts with the first line in your program.
Endline
specifies the last line
to
be listed. If you omit
endline,
BASIC ends with the last line in your program.
If you omit both
startline
and
endline,
BASIC lists the entire
program.
Device may be either SCRN: (screen) or LPT1: (line printer 1). If
you omit deuice, the lines are listed
to
the screen.
You can temporarily stop the listing by pressing [HOLD1. Press
[HOLDJ again
to continue the listing.
You can substitute a period
(.)
for either
startline
or
endline t o
indicate the current line number.
Examples
LIST
displays the entire program.
LIST
5 0 - 8 5 ,
" ' s C R N : "
displays lines in the range 50 to 85 on the screen.
LIST
. -
displays the program line that you have entered or edited and all
higher numbered lines on the screen.
LIST
- 2 2 7
displays all lines up to and including 227 on the screen.
LIST
2 2 7 -
, " L P T l : "
lists Line 227 and all higher numbered lines to the printer.
204

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents