EasyManua.ls Logo

Radio Shack PC-2 TRS-80 - Page 50

Radio Shack PC-2 TRS-80
109 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...
B==
13
(ENTER)
This
assigns
the
value
of
7
to
a variable
named
A
and
the
value
of
13
to
a variable
named
B.
You
can
then
use
these
variables in
an
equation
such as:
and
the
PC-2 will
display:
5
It
3~::4tl
1.
53:::5E-Ci i
If
you
use
the
array
format
(@
(n))
where
n
is
a
numeric
expression
between
1
and
26
which specifies a variable
storage
location.
A
is
the
first
memory
storage
location
(1)
and
Z
is
the
last (26).
For
example,
type:
A==5
(ENTER)
This
stores
the
value 5 in
memory
storage
location
A
which
can also be identified as @(1).
Then
type:
;jH
1
)+
10
(ENTER)
This
adds
10
to
whatever
value
is
stored
in
memory
location
#1
(5 in
this
case).
The
result
-15
-
appears
on
the
right as
soon
as
you
press
(ENTER)
.
46

Table of Contents

Related product manuals