.APPENDIX H
BASIC WORD
PAGES
DISCUSSED
FILES
buffer
number,
buffer
size
Tells the Computer how many
buffers to reserve in
memory
(buffer
number),
and the total
bytes to
reserve
for these buffers
(buffer
size). If
you do not use
FILES, the Computer will reserve
enough memory
space for buffers 1 and
2,
and will reserve
a
total of 256
bytes for those buffers.
FILES 1 . 1000 FILES 5
54-55
FREE(drive
number)
Returns the number of free granules
on the disk
in the drive number
you
specify.
PRINT FREE(0)
20
GET
#
buffer,
record number
Gets the next record or the record
number
you specify, and
puts
it in
the
buffer.
(See OPEN for
buffer
numbers).
GET
«1
,5 GET
*2.
3
34-36
INPUT
#
buffer,
variable name,
. .
.
Inputs
data from the
buffer
you
specify
and assigns
each data item in
the
buffer
to the variable name you specify.
(See OPEN for
buffer
numbers.)
INPUT «1.
A$. B$
26-28
KILL filename
Deletes the
filename
you specify from the disk
directory.
(See the format for
file-
names
above.)
You must include
the extension with
the
filename.
KILL "FILE/BAS" "KILL FILE/DAT:1"
20
LINE INPUT
#
buffer,
data
Inputs
a
line
(all the data up to the (ENTER) character)
from the
buffer
you specify.
(See OPEN for
buffer
numbers).
LINE INPUT
«1
, X$
42-43
LOAD
filename, R
Loads the BASIC program file
you specify from
a disk into memory.
By includ-
ing
R,
the Computer
will RUN the program
immediately
after loading
it. If
your
filename does not have an extension,
the Computer
assumes it is BAS.
(See
the format for
filenames above.) Executing
this command
will erase memory.
LOAD "PROGRAM", R LOAD
"
ACCTS/BAS:
1"
LOADM
filename,
offset
address
Loads
a machine-language program
file from disk.
You can
specify an
offset
address
to add to the program's
loading address. If
your filename
does
not
have
an
extension, the Computer
assumes it is BIN.
(See
the
format for
filenames
above.)
LOADM "PROG/BIN.
3522
61
LOC(buffer)
Returns the current record number
of the buffer
you specify.
(See OPEN
for
buffer
numbers.)
PRINT
L0C(1)
87