Tandy 1000 Basic Reference Manual page 256

Hide thumbs Also See for 1000:
Table of Contents

Advertisement

Chapter 10 I BASIC Ke.ywords
Example
P A L E T T E
3 , 7
changes the third position from cyan to gray.
P A L E T T E
changes all positions in the current palette to their default
values.
Sample Program
5 SCREEN 1
1 0
COLOR
0 , 0
2 0
P A L E T T E
3 , l
3 0
L I N E
( 0 , 1 - 0 0 ) - ( 3 1 9 , 1 0 0 ) , 3
4 0
P A I N T
( 1 , 1 0 0 ) , 3 , 6
5 0
P A L E T T E
Line 10 selects Palette 0 as the current palette. Line 20 changes
position Number 3 from brown to blue. Line 30 draws a horizon-
tal blue line across the center of the screen. Line
40
colors the
lower half of the screen blue. Line 50 causes the palette to re-
turn to its original value. Position 3 is now brown again.
254

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents