VISPUTP
(Statement)
Draw a point on the screen.
VISPUTP <X coordinate>, <Y coordinate>
<X coordinate >
Specifies the X coordinate in order to draw a point.
<Y coordinate >
Specifies the Y coordinate in order to draw a point.
-
The values of the X and Y coordinates are not checked. Even if they are out of the permissible drawing range, no error will result.
-
The object screen is the screen set with VISSCREEN.
-
The brightness value for drawing is the brightness designated with VISBRIGHT.
-
For this instruction, a µVision board (option) is required.
VISPLNOUT 0
|
'Display storage memory 0 (processing screen)
|
VISSCREEN 0,0,1
|
'Instantaneously draw on processing screen 0
|
VISCLS 0
|
'Clear the screen
|
VISBRIGHT 255
|
'Set the brightness value for drawing
|
FOR I1 = 10 TO 200 STEP 5
|
'
|
FOR VISPUTP 100+I1,100
|
'Draw a point at the coordinates (100+I1,100)
|
NEXT I1
|
'
|