Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfnum2col()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfNum2Col()
Converts a BIOS color into a Clipper color
------------------------------------------------------------------------------
Syntax:

     dfNum2Col( <nBios> ) --> cCol

Parameters:

     <nBios>    BIOS color.

Returns:

     <cCol> Clipper color.

Description:

     Converts a BIOS color number into a Clipper color string.

Example:

     ? dfNum2Col(  23 )  // Returns "W/B"
     ? dfNum2Col( 113 )  //      "  "B/W"
     ? dfNum2Col( 121 )  //      "  "B+/W"
     ? dfNum2Col( 241 )  //      "  "B/W*"
     ? dfNum2Col( 249 )  //      "  "B+/W*"

See also:

     dfCol2Num()

See Also: dfCol2Num()

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