Download Print this page

Radio Shack TRS-80 model III Owner's Manual page 38

Mini-disk operation, trsdos disk operating system, disk basic programming language
Hide thumbs Also See for TRS-80 model III:

Advertisement

BUILD
Create
an Automatic
Command
Input
File
file
is
a
file
specification
which cannot
include
an
extension,
This
command
lets
you
create
an automatic
command
input
file
which
can be
executed
via the
do command.
The
file
must
contain data
that
would
normally
be typed
in
from
the
keyboard
to the
trsdos
ready
mode.
build
files
are
intended
for
passing
command
lines to
trsdos
just as
if
they'd
been typed
in
at
the
trsdos
ready
level.
Note:
clear
cannot be used
in
a
do
file.
When
you
enter the
build
command,
build
creates the
file
and immediately
prompts
you
to
begin
inserting
lines.
Each
time
you
complete
a
line,
press
(ENTER)
.
(While
typing
in
a
line,
you
can use
the usual
cursor control
keys
for
erasures
and
corrections.)
To end
the
build
file,
simply
press
(BREAK)
at
the
beginning of
a
line.
First
type:
BUILD
filename
You
will
then be
prompted
to
type
in
the
command
text.
You
then type
in
up
to
63
characters,
then
press
(ENTER)
.
You
may
enter
as
many
lines as
necessary.
Press
(BREAK) to quit
and
return
to
trsdos
ready.
A
Sample BUILD-File
Here's
a hypothetical BUiLD-file
that initializes
the
serial
interface
and
the printer
driver:
SETCOM
<BAUD=12(Z}0,WAIT)
FORMS <WIDTH=80)
PAUSE SERIAL INTERFACE
&
PRINTER INITIALIZED
31

Advertisement

loading