Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TSDWIN: Clipper 5.0 Interface Library - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

 twSplitClr( InColor )
 ----------------------------------------------------------------------------
     Splits a Clipper Colour String into its FIVE component parts and
     returns the result in an array.

     This function derives from a similar one by Rick Spence in his
     Clipper 5.0 Programming Guide.

       Arguments:

     InColor - 'C' Clipper Colour String.

       Return:

     Array of five colours.

       Example:

     cArray := twSplitClr( "w+/b,gr+/r,,n/w,w/b" )

     =>  cArray[ 1 ] == "w+/b"
         cArray[ 2 ] == "gr+/r"
         cArray[ 3 ] == "n"
         cArray[ 4 ] == "n/w"
         cArray[ 5 ] == "w/b"

     Notice the way the colour string was defined in this example.
     TSDWIN Alert Class functions can make use of colours strings like
     this one.

See Also: twListAsArray()

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