
21-28
Example
VISSCREEN 1,0,1 '
VISCLS 0 '
VISSCREEN 1,1,1 '
VISCLS 0 '
VISPLNOUT 0 'Displays storage memory 0 (processing screen).
VISSCREEN 0,0,1 'Instantaneously draws on processing screen 0.
FOR I1 = 10 TO 200 STEP 5 '
FOR VISCLS 0,I1 'Fill
s the screen with the designated brightness of I1.
NEXT I1 '
DELAY 500 'Stops for 0.5 seconds.
VISCLS 0 'Fill
s
the screen with brightness 0.
VISRECT 200,200,200,200
'Draws a rectangle with a width of 200 and a height of 200.
DELAY 500 'Stops for 0.5 seconds.
VISCLS 0 'Fill
s
a rectangle on the drawing screen.
VISCAMOUT 1 '
VISSCREEN 1,0,1 'Instantaneously draws on draw only screen 0.
VISRECT 100,100,200,200
'Draws a rectangle with a width of 200 and a height of 200.
DELAY 500 'Stops for 0.5 seconds.
VISCLS 0 'Fill
s
a rectangle on the draw screen.
VISCLS 0,127 'Fill
s
the drawing screen black.
DELAY 500 'Stops for 0.5 seconds.
VISCLS 0,255 'Fill
s
the draw screen white.
DELAY 500 'Stops for 0.5 seconds.
VISCLS 0 'Sets the drawing screen to transparent.
Commentaires sur ces manuels