EasyManua.ls Logo

Tandy TRS-80 - Page 95

Tandy TRS-80
104 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...
.APPENDIX H
DISK
BASIC
SUMMARY
This is
a
short summary on each new DISK
BASIC "command."
You may also
use any of the EXTENDED
COLOR
BASIC commands.
(See
Getting Started
with Extended Color BASIC
or the Color
Computer
Quick Reference Card
for
a
complete listing.)
The first line gives the format
to use in typing the
command. The italicized
words
represent "parameters"
values
which
you
can specify with
the command.
This is the meaning of some of the parameters
you may specify:
filename
All information stored on
a
disk must
have a
filename.
The
filename should be in this
format:
name/extension:drive number
The
name is mandatory. It must
have 1 to
8
characters.
The extension is optional.
It can have 1
to 3 characters.
The drive number is
optional. If
you do not use it when
opening
a
disk
file, the Computer
will
use drive (or
the drive specified in the DRIVE
command).
number
This may
be a
number
(1,
5.3),
a
numeric
variable
(A, BL), a numeric
function (ABS(3)),
or
a
numeric
operation
(5
+
3,
A-7).
string
This may be characters ("B,"
"STRING"),
a string variable
(A$, BL$),
a string function
(LEFT$(S$,
5)),
or
a
string
operation ("M" + A$).
data
This may
be number or string.
BASIC
WORD
PAGES
DISCUSSED
BACKUP
source drive TO
destination drive
13-15
Duplicates
the contents of
the source drive
to the
destination
drive. If
you only
have one
drive, specify it
as the source drive.
The
Computer will
prompt
you to
switch disks
as
it makes
the backup
copy. Executing
this
command
will erase
memory.
BACKUP 13 TO
1 BACKUP
CLOSE
# buffer,
. .
.
26-27
Closes communication
to the
buffers
specified.
(See OPEN for
buffer
numbers).
If
you
omit
the
buffer,
the
Computer
will close
all
open files.
CLOSE
«1
CLOSE
*1
,
*2
COPY
filenamel TO
filename2
21
Copies the
contents
of
filenamel to
filename2.
Each
filename
must
include
an
extension.
(See
format
for
filenames above.) Executing
this
command
will erase
memory.
COPY "FILE/BAS"
TO
"NEWFILE/BAS"
COPY "ORG/DAT:0"
TO "ORG/DAT:
1"
85

Related product manuals