Download Print this page

Radio Shack 16B System Manual page 46

Built-in hard disk

Advertisement

7.
Try
writing
a
BASIC
program
by
typing the
following:
1
CLS
[ENTER)
20
PRINT "HELLO"
CENTER)
If
you
type
a
line
incorrectly,
press
(ENTER)
and
type
it
correctly.
8.
Test the
program by
typing
BASIC'S
RUN
command:
RUN
fENTEffl
Your screen
should show:
HELLO
Ready
>
The
"Hello"
program you
typed
is
stored
in
memory, You can
run
it
whenever
you wish
until
you
exit
the
BASIC
program (TRSDOS-lf
resumes
control).
If
you want
to
keep
the
program
to
run
later,
you
must
store
it
permanently
before
exiting
BASIC.
9.
To save
the
"Hello"
program
for
future use, type:
SAVE "SAMPLE"
(ENTERl
10.
To
return to
TRSDOS-II Ready,
type:
SYSTEM
CENTER)
Now
you can
run the "Hello"
program whenever you
wish.
To
do
so,
use
the diskette
you
are using now.
Load
the
BASIC
interpreter
by
typing
BASIC
CENTEffi
.
To
load the
SAMPLE
program,
type:
LOAD
"SAMPLE"
CENTER)
Run
the
program
by
typing
RUN
CENTER)
.
36

Advertisement

loading

This manual is also suitable for:

Trs-80