EasyManua.ls Logo

Radio Shack TRS-80 Model III - Page 108

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...
TRS-80
MODEL
III
3. Relational
expressions,
which
test the
relationship between two
expressions.
Examples:
A=
1
A$>B$
4. Logical
expressions,
which
test the
logical relationship between
two
expressions. Examples:
A$
=
"YES" AND
B$
=
"NO"
C>5 OR
M<B
OR
0>2
578 AND 452
Functions
Functions are
automatic subroutines.
Most
BASIC functions
perform
computations
on data. Some
serve a special purpose
such as
controlling
the video display
or
providing
data
on
the status of the computer.
You
may
use functions in
the same
manner
that you use any data
as
part of
a statement.
These are some of Basic's functions:
INT
ABS
STRINGS
How Basic
Handles
Data
Model
III
BASIC
offers
several different methods of handling
your data.
Using
these
methods
properly
can greatly improve
the efficiency of your program.
In this
section
we will discuss:
1
.
Ways of Representing
Data
a. Constants
b. Variables
2.
How
basic Stores
Data
a. Numeric (integer, single
precision,
double precision)
b. String
3
.
How
basic Classifies
Constants
4.
How
BASIC
Classifies Variables
5
.
How
BASIC
Converts Data
98

Other manuals for Radio Shack TRS-80 Model III

Related product manuals