Radio Shack TRS-80 Trsdos & Disk Basic Reference Manual page 114

Micro computer system
Hide thumbs Also See for TRS-80:
Table of Contents

Advertisement

DISK BASIC
File
Manipulation
KILL
(delete
a
file
from
the
disk)
KILL
exp$
where epx$
defines
a
file
specification for
an
existing
file
This
command
works
like
the
TRSDOS
KILL command
-
see
TRSDOS
Library
Commands.
Example:
KILU'OLDFILE/BflS.
PSW1
deletes
the
file
specified
from
the
first
drive
which
contains
it.
Do
not
KILL
an
open
file,
or
you
may
destroy the contents of the
diskette. (First
CLOSE
the
open
file.)
LOAD
(load
BASIC
program
file
from
disk)
LOADexp$
[,R]
where exp$
defines
a filespec
for a
BASIC
program
file
stored
on
disk
R
tells
BASIC
to
RUN
the
program
after
it is
loaded
This
command
loads
a
BASIC
program
file
into
RAM;
if
the
R
option
is
used,
BASIC
will
proceed
to
RUN
the
program
automatically; otherwise,
BASIC
will
return to the
command
mode.
LOAD
without
the
R
option wipes out
any
resident
BASIC
program,
clears
all
variables,
and
closes
all
open
files.
LOAD
with
the
R
option
deletes
the
resident
program and
clears
all
variables,
but does
not
close
the
open
files.
LOAD
with
the
R
option
is
equivalent to the
command
RUN
exp$,R.
Either
of
these
commands
can be used
inside
programs
to
allow
program
chaining
one program
calling
another,
etc.
If
you
attempt
to
LOAD
a
non-B
ASIC
file,
a
DIRECT
STATEMENT
IN
FILE
or
LOAD FORMAT ERROR
will
occur.
7-28

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents