PaletteUsing(PaletteArray[Index])
Changes the color palette using 16 elements of an integer array starting with the specified index value.
Each array element holds the new color value for the corresponding palette entry. See the SetPalette function for a description of palette registers.
Parameters
PaletteArray[Index] - Integer holding the palette entries starting with the specified index.
Examples
BASIC
CALL PaletteUsing(PalArray%(Index%))PASCAL
PaletteUsing(PalArray[Index]);BGI equivalent
void setallpalette(struct palettetype *palette);