U - Update Palette Macro
Macro Syntax: U n ;
Update Color palette command. This command creates a new palette of colors to work with, rather than having to redefine every pen color. The background color (pen 0) is left alone, while the other pens (1 to 32) are changed to match the new palette.
The available palette numbers (n)are as follows:
0 - Standard Palette (uses QuickBasic 16 colors and 16 gray scale colors)
1 - Gray Scale Palette
2 - Red Palette
3 - Green Palette
4 - Blue Palette
5 - Yellow Palette
6 - Cyan Palette
7 - Purple Palette
8 - Dark Red Palette
9 - Dark Green Palette
10- Dark Blue Palette
11- Dark Yellow Palette
12- Dark Cyan Palette
13- Dark Purple Palette
14- Brown Palette
Macro Syntax: U n, p1, p2 ;
If the palette number is 15 then two more parameters are needed. This command will ramp (spread) the colors in pens p1 to p2. All you need to do is define the p1 and p2 pen colors with the C command and then this command will fill in between them.
15- Custom Palette