
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>color2num()</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Color2Num()
Converts a color string into a color numeric
Syntax:
Color2Num ( cColor ) -> nColor
cColor : The color in string format
Description:
Converts a color in string format into numeric format. If the
entry parameter is a string with more than a color, the style
"W/B, B/W...", is returned to the numeric value of the fist
element.
Return:
Type color in numeric format.
Example:
? Color2Num ( "W+/B" ) // 31
See Also: Num2Color()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson