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 #25 background imageLoading...
Page #25 background image
3.3.
Writing
a
Simple
Program
Start
up
the
BASIC
interpreter
following
the
procedures
described
in
Section
2.1.
BASIC
interpreter
1Z-016
VX.XX
Copyright(C)
1984
by
SHARP
CORP.
XXXXXbytes
free
Ready
.
(blinking)
Type
the
following
characters.
10
CLS
Press
the
[CR]
key.
CLS
is
a
statement
which
erases
all
the
characters
from
the
screen.
However,
the
computer
does
not
act
on
the
statement
immediately
as
in
the
interactive
mode.
This
is
because
we
are
now
writing
a
program,
which
causes
the
BASIC
interpreter
to
store
the
statement
in
memory
rather
than
execute
it
immediately.
After
you
input
the
statement,
the
cursor
blinks
at
the
beginning
of
the
line
below
‘10
CLS”
as
shown
below:
10
CLS
a
When
a
number
precedes
a
statement,
the
BASIC
interpreter
stores
the
statement
in
memory.
The
number
preceding
the
statement
is
called
the
line
number,
and
when
many
statements
are
stored
in
memory,
the
line
numbers
indicate
the
order
in
which
the
statements
are
interpreted
and
performed
by
the
com-
puter.
Type
the
following
characters
then
press
the
key.
RUN
All
characters
will
disappear
from
the
screen,
RUN
is
a
command
which
orders
the
BASIC
interpreter
to
interpret
into
machine
language
instructions
all
the
statements
stored
in
memory.
The
statements
are
interpreted
in
ascending
order
of
the
line
numbers
and
given
to
the
computer.
The
CLS
statement
is
still
in
memory.
You
check
this
by
typing
the
following:
LIST
{cR)
CR)
indicates
the
|CR
|
key
has
to
be
pressed.
The
following
display
appears:
3-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