EasyManuals Logo

Sharp MZ-800 User Manual

Sharp MZ-800
221 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
Page #48 background imageLoading...
Page #48 background image
5.6
Expressions
An
expression
is
any
combination
of
variables
and
constants
which
is
combined
with
operators.
Oper-
ators
are
symbols
which
perform
mathematical
or
logical
operations.
The
types
of
expressions
han-
dled
by
the
MZ-800
BASIC
are
as
follows.
Arithmetic
expressions
String
connective
expressions
Relational
expressions
Logical
expressions
(1)
Arithmetic
expressions
An
arithmetic
expression
consists
of
arithmetic
operators,
numeric
constants,
numeric
variables
and
numeric
functions,
It
calculates
a
numeric
value
from
an
operation(s)
performed
by
the
operator.
(The
numeric
functions
will
be
explained
later
in
this
chapter.)
The
table
below
lists
the
arithmetic
operators
arranged
in
order
of
operational
priority.
[
Arithmetic
operator
|
Operation
|
Example
()
|
Gives
the
highest
priority
to
enclose
operations.
|
(X
+
Y)
t
Creates
an
exponential
value
XTy
-
Converts
the
sign
of
a
value
-X
«,/
Multiplication,
devision
|
X*Y,X/Y
+=
ros
subtraction
Ere
ee
When
an
arithmetic
expression
includes
operations
of
the
same
priority,
they
are
performed
in
sequence
from
left
to
right.
(2)
String
connective
expressions
String
connective
expressions
are
used
to
combine
two
or
more
data
strings
into
a
single
string.
A
string
connective
expression
consists
of
string
constants,
string
variables,
string
functions
and
the
operator
“*4'".
(The
string
function
will
be
explained
later
in
this
chapter.)
Example:
“ABC”
+'’DEF’’
““ABCDEF”
ON
4B
EPC!
..
“ABC”
5-7

Other manuals for Sharp MZ-800

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Sharp MZ-800 and is the answer not in the manual?

Sharp MZ-800 Specifications

General IconGeneral
BrandSharp
ModelMZ-800
CategoryDesktop
LanguageEnglish

Related product manuals