FT_COLOR2N() Returns the numeric complement of a Clipper color string ──────────────────────────────────────────────────────────────────────────────
Syntax
FT_COLOR2N( <cColor> ) -> nValue
Arguments
<cColor> is a Clipper color string
Returns
The numeric complement of a color string or 0 if passed color is invalid.
Description
This function is useful when calling other functions that expect a numeric color parameter. It is often more convenient to pass a converted color string than having to calculate or look up the corresponding number.