Sharp MZ-700 Basic Manual page 100

Disk basic interpreter
Hide thumbs Also See for MZ-700:
Table of Contents

Advertisement

102
<
<> or
><
>=or=<
<=or=<
*
+
10 IF A<X THEN." If
variable A is smaller than X, executes commands from
THEN onward.
10 IF A<>F THEN ... If
variable A and X are not equal, executes commands
from THEN onward.
10 IF A>=X THEN
10 IF A<=X THEN
40
IF (A>X)
*
(8)
If
variable A is greater than or equal to X, executes
commands from THEN onward.
If
variable A is smaller than or equal to X, executes
commands from THEN onward.
If
variable A is greater than X and variable B is greater
Y) THEN ..........
than Y, executes commands from THEN onward.
50 IF (A>X) +
(8)
If
variable A is greater than X or variable B is greater
Y) THEN ..........
than Y, executes commands from THEN onward.
5.1.19 Other Symbols
?
200
? "A+B= "; A
Can be used instead of PRINT. Consequently, statement
+
B
number 200 and 210 are the same.
210 PRINT "A+B
="; A+B
220 A=X:B=X
t
2:
A symbol to express punctuation of the command state-
lA.B
ment; used in multiple commands. There are 3 command
statements used in the statement number 220 multiple
command.
230 PRINT "AB";
"C Executes PRINT continuously. As a result line number
0"; "EF"
230, "ABCDEF" is displayed on the screen continuously,
with no space.
240 INPUT "X="; X
Displays "X =" on screen; awaits data key input of string
$
variable XS.
250 PRINT" AB
n,"C
Executes PRINT with tabulation. For statement number
0", "E"
250, first AB is displayed on the screen, then CD is
displayed in the position 10 characters to the right of A,
and then E is displayed in the position 10 characters to the
right of C.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mz-2z009

Table of Contents