Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>set_color()</b> t_exam16, g_exam11 http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SET_COLOR()                                               T_EXAM16, G_EXAM11
   Changes the display color of a data column.

   Syntax
         nColor = SET_COLOR(nColumn [,nColor])

   Arguments
         nColumn     Sets the buffer column number.
         OPTIONAL PARAMETERS
         nColor      Sets the palette number.

   Returns
         nColor      Returns the column color number.

   Description
         SET_COLOR() changes the color of a column of data. The color is a
         number between 0 and 15 and is translated through the Flippe palette.
         This process of setting defaults occurs at startup and when you issue
         FLP_RESET(). The default color for column 1 is color 14. For column 2
         it is color 13 and so on down to color 1 for column 14. Column 15
         then starts over at color 15 and decrements by column to color 1.

   Examples

               SET_COLOR(1,5)

See Also: GRF_COLORS() SET_PAL()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson