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...
(A
*
B)A2
A (2,
3)
+A (3, 4) +5.0 - C
(A/B)
*(C +
0)
In
certain
circumstances
the
multiplication
operator
can
be implied:
2A
7C
ABC
is
the
same
as
is
the
same
as
is
the
same
as
As
you
can
see
from
the
last
example,
there
is
a possibility
that
implied
multiplication
could
be
confused
with
other
BASIC
words,
so
don't
use
this
form
unless
the
context
is
very clear.
NOTE:
Negative
numbers
may
not
be raised
to
a
power
with
the
A
operator
since
you
may
obtain
incorrect
signs.
If
negative
numbers
are
encountered
in
a
program,
convert
the
numbers
to
positive
numbers
using ABS
before
using
the
A
operator.
You will
then
have
to
change
the
result
to
the
appropriate
sign.
String Expressions
String
expressions
are similar
to
numeric
expressions
except
that
there
is
only
one
string
operator
--
concatenation
(+). This
is
the
same
symbol
used
for
plus. When use
with
a
pair
of
strings,
the
+
attaches
the
second
string
to
the
end
of
the
first string
and
makes
one
longer
string. You
should
take
care
in
making
more
complex
string
concatenations
and
other
string
operations
because
the
work
space
used by
the
PC-3
for
string
calculations
is
limited
to
only
79
characters.
NOTE:
String
quantities
and
numeric
quantities
cannot
be
combined
in
the
same
expression
unless
one
uses
one
of
the
functions
which
convert
a string value
into
a
numeric
value
or
vice versa.
50

Table of Contents

Related product manuals