Sharp MZ-700 Basic Manual page 92

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

Advertisement

94
DEF KEY
INIT
LABEL
15 DEF KEY(1) = "L The DEF KEY statement of statement number 15 defines
1ST"
-+-
CHRS(13)
the function LIST
IQY
to
25 DEF KEY(2)
="
L function key number 1, and statement number 25 defines
OAD:RUN"
+
the function LOAD:RUN
IQY.
CHRS (13)
INIT" RS1:"
210 LABEL "SUB"
220
Sets the RS-232C mode.
Defines subroutine name beginning from statement num-
ber 210 as "SUB".
5.1.11
Comment Statements and Control Statements
REM
200 REM JOB-1
REM is a comment statement; ignored when program is
executed.
STOP
END
CLR
CLS
CURSOR
850
STOP
2000 END
300 CLR
Stops program execution and awaits command. If CONT
command given here, program continues.
Indicates end of program. Executes program end.
All numerical variables and character variables become 0
or vacant (null); all array variables return to undeter-
mined condition. All DEF FN statements also become
invalid.
10 CLS
Erases the secreen in the scroll range.
50 CURSOR 25. 15 Specifies the position by numerals or variables: from 0 -
60 PRINT" ABC"
39 from the left end in the X axis direction, and 0 - 24
from the top end in 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.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mz-2z009

Table of Contents