EasyManua.ls Logo

Sharp MZ-700 - Control Commands

Sharp MZ-700
213 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
Loading...
2.3.3 Control commands
2. 3.
3.
1 RUN . . .
....................
.
........
. . (abbreviated format:
R.)
Format
Function
RUN
or RUN Ls
Ls
...
. Starting line number
This command executes the current program in
the
BASIC
text
area.
If
the program
is
to
be executed starting with the first program line,
just
enter
RUN and press
the
I CRI key.
If
execution is to begin with a line
other
than
that
the lowest line number, type in RUN Ls (where
Ls
is
the line
number
at which
execution
is
to
start) and press the I CRI key.
When this command
is
executed, the BASIC interpreter clears all variables and
arrays before passing control
to
the BASIC program.
2. 3. 3. 2
CONT
..
.
..................
.
...........
(abbreviated format: C.)
Format
Function
CONT
The
CONT command is used to resume execution
of
a program which has been
interrupted
by
pressing I SHIFT I + I
BREAK
I
or
by
a STOP statement in the
program. This command can also
be
used
to
continue execution
of
a program which
has been interrupted
by
an END statement; however, in this case care must be
taken
to
ensure
that
lines following the END statement are
not
the lines
of
a subroutine.
Examples
of
situations in which
the
CONT command can and cannot
be
used are
shown in
the
table below.
Program continuation possible· Program continuation
not
possible
Program execution stopped
by
Before a RUN command has been
pressing
I
SHIFT
1+1
BREAK
I.
executed.
Program execution stopped
by
a
"READY"
displayed due
to
an
STOP command.
error occurring during program
execution.
Program execution stopped
by
Cassette tape operation interrupted
pressing
I
SHIFT
1+1
BREAK
I
by
pressing I
SHIFT
1+
1
BREAK
I.
while the program was a waiting
input
for an INPUT statement.
Program execution stopped during
execution
of
a MUSIC statement.
Program execution stopped and
11
READY
11
displayed after
execution
of
an END statement.
34------------------------------
----
------------------------
--------
--------

Other manuals for Sharp MZ-700

Related product manuals