qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
PALETTE, PALETTE USING Statement
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Changes the color assignments of color attributes in the current screen
 mode; works only on systems equipped with EGA, VGA, and MCGA adapters.
 
    PALETTE [attribute%, color%]
    PALETTE USING arrayname[(index%)]
 
    ■ attribute%   Color attribute to change
 
    ■ color%       Color value to assign to an attribute
 
    ■ arrayname    Array of color values to assign to the current screen
                   mode's set of attributes; must be large enough to assign
                   colors to all the attributes
 
    ■ index%       Index of the first array element to assign to an attribute
 
 See Also
    Graphics Command Summary