Radio Shack TRS-80 User Manual page 11

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

Advertisement

"Allow
me
to
introduce myself."
Now
we'll
tell
the
Computer
to
exe cute our program.
The
BASIC command
for
this
is
simple;
RUN.
So
type
RUN
and
press
l^m:l
.
If
you made no
mistakes, the display
will
read:
HELLO THERE.
I
AM
YOUR NEW TRS-80
MICROCOMPUTER!
If this isn't
what you
got,
go back
and
try
it
again.
If
HUN
still
doesn't
produce
the
greeting,
there's
something
wrong
in
your program.
Type
NEW
to
clear
it
out and type
in
the one-line
program
again.
If
it
did
work
let
out
a
yell!
"HEY
MA,
IT
WORKS!"
This
is
very important, because
now
that
you
have
tasted success
with
a
computer,
it
may
be
the
last
you
are
heard
from
in
some
time.
Note
that the
word
PRINT
was not
displayed,
nor were
the
quotation marks.
They
are part
of the program's instructions
and
we
didn't
intend
for
them
to
be
printed.
Type
the
word
RUN
again
and
hit
IJt'Md;!
,
Type
RUN
to
your
heart's
content,
watching
the
magic machine do
as
it's
told,
over
and
over.
When
you
feel
you've
really
got the
hang
of
all
this,
get
up
and
stretch,
walk around
the
room,
look out the
window
the
whole
act.
Because
you'll
soon
get
hooked and you
won't
want
to
take
time
for
such
things
later
on.
Learned
in
Chapter
1
ComftlarKte
-
Statements
PRINT
Miscellaneous
>
prompt
cursor
IBREAKI
WU4A
NEW
-*
backspace key
RUN
" "
quotation
marks
We'll
put
a
list
like this at
the
end
of
each
chapter.
Use
it
as
a
checkpoint
to
make
sure
you
didn't miss
anything.
Maybe
you're
wondering
what's the difference
between
BASIC
comma
nds and
BASIC
statements.
Commands
are
executed
as
soon
as
you
type
them
in
and
press IJ^fct3;l
.
State-
ments
are
put
in
to
programs and
are
only executed
after
you
type
the
command
RUN
.
i
I
"HEY
MA,
iT
WORKS.'"
Whether
you're typing
in
a
program;
.
or:
giving
direct
co
mmands
like
RUN,
you've
got
to hit
ldhi£1j
to
tell
the
Computer
to take
a
look
at
what
you've typed and
act accordingly.
Special
message
for
people
who
can't
resist
the
urge to play
around
with the
computer and
skip
around
in
this
book. (Viere always
are
a few!)
It's
possible
to
"lose
Control"
of
the
Computer
t
so
that
ifwo
ti't
give
y ou
a
READY
message
when
you
pre
ss
la^Maii.
To
r
egain control,
just
press
.
M.1MI
.t4e
"j|'3JliJja
Jf^atdoesn't.:w6rk;:
find
the
Reset button
inside
the
left
rear
corner
of rSe :TRS-S«
and
pus;h
it.
There)
As
yo
u exer
cise
your TRS-80,
you
11
note
that
with SHIfl]
you
get
some
symbol
Characters
that are
not used with
LEVEL f(Eg^[
1)
although they can be
inside a print
statement.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents