NTOCOLOR()

$SYNTAX$

Arguments

<nAttr> Designates the value for the combined numeric color attributes.

<lColorCode> If designated as .F. or if the parameter is omitted, NTOCOLOR() returns a string with a numeric color code. When designated as .T., NTOCOLOR() returns a string with the CA-Clipper alpha color coding.

Returns

NTOCOLOR() returns the designated color attribute in the NN/NN or CC/CC form.

Description

NTOCOLOR() converts a color attribute returned from another function in numeric form, into the alphanumeric data format. Use this attribute in conjunction with the CA-Clipper SET COLOR TO command.

TODO: add documentation

Status

Started

Platforms

All

Files

Source is color.prg, library is libct.