EasyManuals Logo

Radio Shack TRS-80 PC-3 User Manual

Radio Shack TRS-80 PC-3
289 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #60 background imageLoading...
Page #60 background image
CHAPTER 5
PROGRAMMING
THE
PC-3
In
the
previous
chapter
we
examined
some
of
the
concepts
and
terms
of
the
BASIC
programming
language.
In
this
chapter
you
will
use
these
elements
to
create
programs
on
the
PC-3. Let us
reiterate,
however,
that
this
is
not
a manual
on
how
to
program in
BASIC.
What
this
chapter
will
do
is
familiarize
you
with
the
use
of
BASIC
on
your
PC-3.
Programs
A
program
consists
of
a
set
of
instructions
to
the
computer.
Remember
the
PC-3
is
only
a
machine.
It will
perform
the
exact
operations
that
you
specify.
You,
the
programmer,
are responsible
for
issuing
the
correct
instructions.
BASIC
Statements
The PC-3
interprets
instructions
according
to
a
predetermined
format.
This
format
is
called a
statement.
You
always
enter
BASIC
statements
in
the
same
pattern.
Statements
must
start
with
a line
number:
10:
PRINT
"HELLO"
20:
READ B (10)
30:
END
Line Numbers
Each line
of
a
program
must
have a
unique
line
number
--
any integer
between
1
and
999.
Line
numbers
are
the
reference
for
the
computer.
They
tell
the
PC-3
the
order
in
which
to
perform
the
program. You need
not
enter
lines
in
sequential
order
(although
if
you
are a beginning
programmer,
it
is
probably
less confusing
for
you
to
do
so).
The
computer
always begins
execution
with
the
lowest line
number
and moves
sequentially
through
the
lines
of
a program
in
ascending
order.
59

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Radio Shack TRS-80 PC-3 and is the answer not in the manual?

Radio Shack TRS-80 PC-3 Specifications

General IconGeneral
BrandRadio Shack
ModelTRS-80 PC-3
CategoryCalculator
LanguageEnglish

Related product manuals