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 #89 background imageLoading...
Page #89 background image
See
also
(Example
3)
10
DIM
A(2)
20
READ
A\0),A(1),A(2)
30
PRINT
A(O);A(1);A(2)
40
END
50
DATA
3,4,5
RUN
345
The
READ
statement
in
this
program
substitutes
the
numeric
values
following
the
DATA
statement
into
array
elements
A(0), A(1),
and
A(2),
then
the
PRINT
state-
ment
in
line
30
displays
the
values
of
those array
elements.
(Example
4)
10
READ
A
20
READ
B
30
DATA
X
The
example
above
is
incorrect
because
firstly
a
numeric
variable
is
specified
by
the
READ
statement
on
line
10,
but
the
value
specified
following
the
DATA
state-
ment
is
a
string
value,
and
secondly
there
is
no
data
which
can
be
read
by
the
READ
statement
on
line
20.
RESTORE
6-32

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