Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>converts numeric attribute to clipper colour string</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Converts numeric attribute to Clipper colour string
------------------------------------------------------------------------------

 Syntax

       GT_NToColor(<nAttribute>) --> <cColourString>

 Arguments:

     <nAttribute> The integer attribute to convert to a Clipper colour
     string

 Returns:

     The Clipper Colour string

 Description:

     Converts an attribute numeric into a Clipper colour string

     Note: The module also includes a C/ASM callable function equivelant
           in the form of:

              char * gt_NToColor (int color);

 Examples:

     ? GT_NToColor(31)         // Result: "W+/B"

 Source: NTOCOLOR.C

 Author:  Ian 'UnNamedDude' Day (L&W Computer Services Ltd.)

See Also: GT_COLORTON()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson