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 #63 background imageLoading...
Page #63 background image
NEW
Format
Explanation
Example
NEW
The
NEW
command
deletes
programs
in
the
BASIC
memory
area
and
clears
pro-
gram
work
areas
such
as
the
variables
and
arrays.
When
the
BASIC
area
is
limited
with
the
LIMIT
statement,
the
NEW
command
deletes
only
the
programs
in
the
BASIC
area;
it
does
not
delete
machine-language
programs.
10
INPUT
A
20
PRINT
A
30
END
When
the
above
program
is
in
memory,
executing
NEW
will
delete
the
program.
(Confirm
the
deletion
by
using
the
LIST
command.)
NEW
ON
Format
Explanation
NEW
ON
Expands
the
BASIC
program
area
by
deleting
part
of
the
BASIC
interpreter
which
is
relating
to
the
plotter
printer
control.
This
command
can
be
used
only
when
the
optional
printer
(MZ-1P16)
is
not
used.
This
command
deletes
programs
in
the
BASIC
memory
area.
Example
NEWON
ccreaascawacsamece
Expands
the
BASIC
program
area.
CLR
Format
CLR
Explanation
Example
The
CLR
command
clears
all
variables
and
cancels
all
array
definitions.
All
numer-
ic
variables
are
cleared
to
0,
all
string
variables
are
cleared
to
null
strings
(‘
’’)
and
arrays
are
eliminated
entirely
by
nullifying
all
previously
executed
DIM
statements.
Therefore,
DIM
statements
must
be
reexecuted
to
redefine
the
dimensions
of
any
required
arrays
before
the
arrays
can
be
used
again.
The
CLR
command
also
cancels
all
function
definitions
made
with
the
DEF
FN
statement;
therefore,
it
is
necessary
to
reexecute
DEF
FN
statements
to
redefine
such
functions
before
they
can
be
used
again.
The
CLR
command
can
not
be
included
in
a
FOR
~
NEXT
loop
or
subroutine.
10
A=12
20
B$
="'parasol’’
30
PRINT
A,BS
40
CLR
50
PRINT
A,BS
60
END
The
CLR
statement
on
line
40
clears
variable
A
to
zero
and
BS
to
nulls.
6-6

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