Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FreshWin (c) Fresh Technologies - <b>attr2clr() color function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  ATTR2CLR()                                                  Color Function
 Purpose..: Return the Clipper color string of an attribute
-------------------------------------------------------------------------------
 Syntax...: Attr2Clr( <nClr> ) --> cClrStr

 Arguments: <nClr>    = Foreground/Background color attribute

 Returns..: <C> cClrStr is the Clipper color string

 Source...: ATTR2CLR.PRG
-------------------------------------------------------------------------------
 Example..: ? Attr2Clr( 31 ) // prints "W+/B"

See Also: Clr2Num() Clr2Attr() ClrTable()

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