VTech Precomputer Power Pad Plus Games User Manual


 
49
PSET
This command is used for drawing a specified point on the screen.
PSET X, Y
(X, Y) is a coordinate of the specified point to be shown.
X represents a value of a horizontal position.
Y represents a value of a vertical position.
Example:
10 CLS
20 PSET 100, 8
RUN
The result: a screen pixel at coordinate (100, 8) will be turned on.
PRESET
This command turns off a specified point on the screen.
PRESET X, Y
(X, Y) is the coordinate of the specified point to be cleared.
X represents a value of a horizontal position.
Y represents a value of a vertical position.
Example:
10 CLS
20 FOR X= 50 TO 100
30 PSET X, 8
40 FOR DELAY= 1 TO 70
50 NEXT DELAY
60 PRESET X, 8
70 NEXT X
80 END