Function NtoColor() Foundation

Converts a numeric color attribute to a string.

Syntax
NtoColor( <nColorAttribute> , ;
          [<lColorsAsChars>]  ;  // Default: .F.
        ) --> cAttribute
Return

By default the function returns a string with the foreground and background colors coded as digits (eg: "0/7"). If the second parameter is set T. the function uses letters for colors (eg: "N/W")

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.