Sharp MZ-80B Basic Manual page 61

Personal computer double precision disc
Hide thumbs Also See for MZ-80B:
Table of Contents

Advertisement

SET
300 SET 1 60, 1 00
RESET
3 1 0 RESET 1 60, 1 00
LINE
400 LINE 1 1 0, 50, 2 1 0, 50,
2 1 0, 1 50, 1 1 0, 1 50, 1 1 0,
50
BLINE
POSITION
20 G RAPH 12, C, 02
30 POSITION 0, 50
40 PATTERN 8, A$
PATTERN
10 C $
"ABCDEF"
=
20 PATTERN 4, C $
30 PATTERN - 4, C $
POINT
1 00 O N POINT (X, Y)
GOTO 1 0 , 20, 30
Sets a dot in the specified position ·in a graphic area operating in
the input mode.
The first operand specifies the X-coordinates (0-3 19) and the
second operand specifies the Y-coordinates (0- 1 99).
Displays a dot in the center of the screen.
Resets a dot in the specified position in a graphic area operating in
the input mode .
Resets a dot from the center of the screen.
Draws lines connecting positions specified by operands.
Draws a square the length of whose side is 1 00 in the center of the
display screen.
Draws black lines connecting positions specified by operands.
Sets the location of the position pointer in a graphic area. The
PATTERN statement (see below) is executed starting at the loca­
tion indicated by the position pointer.
Places graphic area 2 in the input mode, sets the position pointer to
the position corresponding to the position on the display screen
which is at (0, 50), then transfers data from variable A$ to graphic
area 2 so that the pattern corresponding to the contents of A$ is
drawn on the screen starting at (0, 50).
Draws the dot pattern specified by operands in a graphic area
which is in the input mode. Each dot pattern unit consists of 8
dots arranged horizontally and corresponds to 8 bits representing a
character. Elements are stacked in the number of layers specified
by the value of the first operand and the direction in which layers
are stacked is specified by the sign of the first operand.
Draws the dot pattern shown as follows.
4 l ' Y " ' 11 1 1 1 1 1 1 1
Draws the following dot pattern.
Ascertains the dot (X, Y) whether it is set or reset, and branches
according to the result.
Result of the
POINT function
Points in both graphic areas 1 and 2 are reset.
0
1
Only point in graphic area 1 is set.
2
Only point in graphic area 2 is set.
Points in both graphic areas
3
Point infonnation
and 2 are set.
1
53

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents