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]

 twSetGlobal( nHndl , xInGlobal )
 ----------------------------------------------------------------------------

     twSetGlobal() can be used to get/set the value of a predefined
     TSDWIN global variable. It acts like Clipper's SETCOLOR().

       Arguments:

     nHndl     - 'N' The handle of the global variable which is the
                     index of the array passed with twInitGlobal() or
                     the handle returned by twAddGlobal().

     xInGlobal - 'X' A new value to replace the old one. This parameter
                     is optional.

       Return:

     The old value of the global variable.

       Example:

     nOldValue := twSetGlobal( 3, nNewValue )
     ...
     //do some operations
     ...
     twSetGlobal( 3, nOldValue )

See Also: twDelGlobal() twInitGlobal() twAddGlobal() twSetGlobal()

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