EasyManua.ls Logo

Sharp MZ-800 - Page 182

Sharp MZ-800
221 pages
Print Icon
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...
\
Comment
statements
and
control
statements
:
REM
200
REM
JOB1
REM
is
a
comment
statement;
ignored
when
program
is
executed.
STOP
850
STOP
Stops
program
execution
and
awaits
command.
If
CONT
command
given
here,
program
continues.
|
END
2000
END
Indicates
end
of
program.
Executes
program
end.
CLR
300
CLR
All
numerical
variables
and
character
variables
become
0
or
vacant
(null);
all
array
variables
return
to
undetermined
condition.
All
DEF
FN
statements
also
become
invalid.
CURSOR
50
CURSOR
25,
Specifies
the
position
by
numerals
or
variables:
form
0
to
39
from
15
the
left
end
in
the
X
axis
direction
,
and
0
to
24
from
the
top
end
in
60
PRINT
ABC”
the
Y
axis
direction.
For
the
example
at
the
left,
string
‘‘ABC"’
is
displayed
from
the
26th
cursor
position
from
the
left
end
of
the
screen
and
the
16th
cursor
position
from
the
top
end.
CONSOLE
10
CONSOLE
O,
‘The
scroll
range
covers
the
whole
screen.
25,
0,
40
20
CONSOLE
5,
Specifies
the
scroll
range
form
the
Sth
line
to
the
15th
line.
15
30
CONSOLE
0,
Specifies
the
scroll
range
from
the
Sth
line
to
the
30th
line.
25,
5,
30
40
CONSOLE
0,
Specifies
the
scroll
range
to
a
10x
10
range.
)
10,
0,
10
50
CONSOLE
2,
Specifies
the
scroll
range
to
the
scroll
range
shown
in
the
figure
20,
2,
35
below.
(39,0)
:
(39,24)
SIZE
?
SIZE
Displays
the
unused
size
(in
bytes)
of
the
BASIC
text
area.
TIS
100
TI$
=
Sets
the
internal
clock
to
10:20:30
PM.
Time
data
are
expressed
as
a
)
222030"
_6-digit
figure
within
quotation
marks.
Music
control
statements
MUSIC
300
TEMPO
7
Tempo
7
(fastest
speed)
is
specified
by
statement
number
300.
By
TEMPO
310
MUSIC’’DE#
statement
number
310,
re
mi
fa#
sol
la
(midrange)
are
played
at
tem-
FGA”
po
7.
If
there
is
no
TEMPO
statement,
the
music
is
played
at
the
tempo
of
the
default
value.
300
M1$="C3E
In
this
example,
the
melody
is
substituted
to
the
3
string
variables
G+c”"
and
the
MUSIC
command
is
executed,
When
the
staff
notation
is
310
M2$="BGD
used,
the
notes
below
are
played.
Note
that,
because
there
is
o
TEM-
-G"
PO
statement,
the
playing
is
at
the
default
value
tempo.
320
M3$=
“CBR5"
330
MUSIC
M1$,
M28,M3$
9-7

Other manuals for Sharp MZ-800

Related product manuals