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>dfcol2num()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfCol2Num()
Converts a color into a BIOS number
------------------------------------------------------------------------------
Syntax:

     dfCol2Num( <cCol> ) --> nBios

Parameters:

     <cCol>     String containing a color.

Returns:

     <nBios> BIOS number.

Description:

     Converts a Clipper color string into the corresponding BIOS color.

Example:

     ? dfCol2Num( "W/B" )    // Returns 23
     ? dfCol2Num( "B/W" )    // Returns 13
     ? dfCol2Num( "B+/W" )   // Returns 121
     ? dfCol2Num( "B/W*" )   // Returns 241
     ? dfCol2Num( "B+/W*" )  // Returns 249

See also:

     dfNum2Col()

See Also: dfNum2Col()

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