EasyManua.ls Logo

Radio Shack TRS-80 PC-3

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
Loading...
When
programming,
it
is
wise
to
allow
increments
in
your
line numbering (10, 20,
30,
...
10,30,
50
etc).
This enables
you
to
insert
additional
lines, jf necessary.
CAUTION: Do
not
use
the
same
line
numbers
in
different
programs.
If
you
use
the
same line
number,
the
oldest
line with
that
number
is
deleted
when
you
enter
the
new line.
BASIC Verbs
All
BASIC
statements
must
contain
verbs. Verbs tell
the
computer
what
action
to
perform.
A verb
is
always
contained
within
a
program and, as such,
is
not
acted
upon
immediately.
10:
PRINT
"HELLO"
20: READ B (10)
30:
END
Some
statements
require
or
allow an
operand:
10:
PRINT
"HELLO"
20: READ
8(10)
30:
END
Operands
provide
information
to
the
computer
telling it
what
data
the
verb will
act
upon.
Some
verbs require
operands;
with
other
verbs
they
are
optional.
Certain verbs
do
not
allow operands. (See
Chapter
8 for a
complete
listing
of
BASIC verbs arid
their
uses on
the
PC-3.)
BASIC
Commands
Commands
are
instructions
to
the
computer
wh ich are
entered
outside
of
a program.
Commands
instruct
the
computer
to
perform
60

Table of Contents

Related product manuals