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 #45 background imageLoading...
Page #45 background image
5.3.
Constants
(1)
Numeric
constants
Numeric
constants
are
positive
or
negative
numbers.
They
can
be
represented
in
either
their
ordinary
form
or
an
exponential
form.
Numeric
constants
must
lie
within
the
range
10**
to
10°*
(IE
—38
to
1.70141
18E
+
38),
and
the
maximum
number
of
significant
digits
is
8. If
the
value
of
a
constant
is
out
of
the
range,
the
result
of
operation
is
not
assured.
Ordinary
integers
and
decimal
numbers
are
represented
in
their
normal
form
as
follows.
123
-123.4
+12
The
‘‘+”"
sign
may
be
omitted
for
positive
numbers.
Very
large
or
small
numbers
are
represented
in
the
exponential
form.
In
this
form,
a
number
is
represented
by
a
number
representing
the
mantissa,
E,
and
a
number
representing
the
exponent.
Use
of
‘E”’
in
the
exponential
form
is
shown
below.
1.23E+2
This
represents
1.23
x
10x
10=123
—1.2E-1
This
represents
—1.2+10=—0.12
The
‘‘+’’
sign
may
be
omitted
for
positive
numbers.
The
mantissa
must
be
less
than
10
and
greater
than
—10
and
the
exponent
must
be
an
integer
between
—38
and
+38.
(2)
String
constants
A
string
constant
is
a
set
of
characters
enclosed
in
quotation
marks
(**
’’).
The
maximum
number
of
characters
in
a
string
constant
depends
on
the
effective
line
length,
but
the
total
maximum
number
of
characters
of
string
data
permitted
is
255.
Examples
of
string
constants
are
as
follows.
“ABC!
"12345"
“"MZ-800""
Note:
Quotation
marks
are
not
required
in
DATA
statements.
(See
Chapter
6.)
5-4

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