xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

ColorToN()

Converts a color value to a numeric color attribute.

Syntax

ColorToN( <cColor> ) --> nColorAttribute

Arguments

<cColor>
This is a SetColor() compliant color string.

Return

The function converts a color value to the corresponding color attribute and returns the attribute as a numeric value.

Info

See also:NtoColor()
Category: CT:Video , Screen functions
Source:ct\color.prg
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe