EasyManua.ls Logo

Radio Shack TRS-80 Model III - Commands

Radio Shack TRS-80 Model III
274 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...
P=
TRS-80
MODEL III
How BASIC
Manipulates
Data
You have many fast methods
you may use to get
BASIC to
count,
sort,
test and
rearrange your data.
These methods fall into two
categories:
1
.
Operators
a. numeric
b.
string
c. relational
d. logical
2. Functions
Operators
An operator
is the
single
symbol or word
which signifies
some
action to
be taken on
either one
or two
specified
values referred
to as
operands.
In general
,
an operator is
used like this:
operand-] operator
operand-2
operand-] and
-2
can be expressions.
A few operations
take only
one operand,
and are used like
this:
operator
operand
Examples:
6
+
2
The
addition operator
+ connects or relates
its two operands,
6 and
2,
to
produce
the result
8.
-5
The negation
operator
acts on
a single operand 5 to
produce the
result negative
5.
Neither
6
+
2
or
5 can stand alone;
they must be used in
statements to
be
meaningful
to BASIC.
For example:
A
=
6 + 2
PRINT
-5
112

Other manuals for Radio Shack TRS-80 Model III

Related product manuals