NToColor() - Convert numeric value to colour string
Converts numeric values to NN/NN or CC/CC color values
──────────────────────────────────────────────────────────────────────────────

Syntax

NToColor( <nAttr>, [<lColorCode>]) --> cAttr

Arguments

<nAttr> is the colour attribute that is to be converted into the string

<lColorCode> is a logical value that determines the type of string
returned. Omit this paremeter or pass a .F. and NToColor returns a
numeric colour string. Pass this a .T. and this function will returns a
standard clipper colour string.

Returns

NToColor() colour string in either NN/NN or CC/CC format.

Description

NToColor() changes a numeric colour to it's equivalent NN/NN or CC/CC
colour string format.


Files: Library is MRWINDOW.LIB.