EasyManua.ls Logo

Tandy 1000 - Page 292

Default Icon
337 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Basic
LIST
startline-endline [,device]
Lists a program in memory to the display.
Startline
specifies the first line to be listed. Default
=
first line in
the program.
Endline
specifies the last line to be listed. Default
=
last line in the
program.
Device
may be either SCRN: (screen) or LPT1: (printer). Default
=
screen (SCRN:).
LIST LIST 50-100, LPTI:
LLIST
startline-endline
Lists program lines in memory to the printer. LLIST assumes a
132-character-wide printer. You may change this
by
using the
WIDTH statement.
Startline
and
endline
are described in LIST.
LLIST LLIST68-90
LOAD
pathname
[,R]
Loads a BASIC program from disk into memory. The
R
option tells
BASIC to run the program.
LOAD "A:progl .bas"
LOAD "progl .bas",R
LOC(
buffer)
Returns the current record position within a file.
Buffer
is the number
assigned to the file when you opened it.
Direct access files: LOC returns the record number accessed by the
last GET or PUT statement.
Sequential access files: LOC returns the number of 128-byte records
that have been read or written.
A=LOC(Z)
IF
LOC(1)>55 THEN
END
Tandy
1000
41

Table of Contents

Other manuals for Tandy 1000

Related product manuals