Radio Shack TRS-80 User Manual page 58

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

Advertisement

Is
There
No
End
to
This Magic?
We now
have
2 separate
programs
resident
in
the
computer.
We know how
to
run the
first
one
we
just
typeRUN. To
run
the
second one
we
have
a
foxy
variation
on
RUN
called
RUN
##tt
.
.
.
and,
as
you
might
suspect,
it
is
similar
to
LIST###. To
RUN
the
program
starting
with
line
10,
type
RUN
10
.
.
,
and
that's just
what
happens.
Will
wonders
never
cease?
If
you
have
20
or
30
programs
in
the
computer
at
the
same
time,
you
can
RUN
just
the
one
you
want, provided
you
know
its
starting
line
number.
What's
more,
you
can
start
any program
in
the
middle
(or
elsewhere)
for
purposes of
trouble-
shooting
a
matter
we
will
become more
involved
in as
our programs
get
longer
and
more
complicated.
Meanwhile,
Back
at
the
Ranch
We
got
into
this
whole messy
business trying to find
a
way
to
slow
down
our run
on
the
flight
times
from
Boston
to
San
Diego.
In
the process
we
found
out
a
lot
more
about
the
Computer
and
learned to
build a
timer loop.
Now
let's
see
if
we
can
build
a
timer loop
into
our
big
program.
First,
let's
erase
the
test
program
using
lines 2,
3,
4,
5,
6,
7,
&
9 by
typing
each of those
numbers
followed with
l^
||
^
jjf
.
One way
to
stop the
fast
parade of information
in
our
chart
is
to
put
in
a
STOP. Type
in
85
IF
R
=
600 STOP
...
and
RUN.
We
know
R
is
going
to
increment
to
600,
and
that's
about
half
way
through
the
chart,
so
600
is
a
good
choice.
See
how
the chart ran
out
to
550
mph
then
hit
the
stop
at
600 came
racing
down
to
line
85.
Your
screen
should read the
first
part of the chart
and
BREAK
AT
85
This
means
the
program
is
stopped,
or
broken
at
line
85.
You
can
now
gaze
at
the
top
half
of the
chart to
your
heart's
content.
To
restart
the
program merely
type
CONT
56
Again^thfr
##*
s
represent t&e
number
of
ifce
line
you
want
the
RUN
to^tart with.
V
'MAGICIAN'

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents