Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Clipper Tools One Guide - <b>csetcent()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CSETCENT()

Syntax:     CSETCENT([<expL>])

Arguments:  <expL> The logic value (.T.) corresponds to the setting
            of a switch to ON and (.F.) for OFF.

Returns:    A logic value.
            Corresponds to the current setting of CSETCENT().

Usage:      If the optional argument is omitted, the function will only
            return the current setting of the switch concerned, without
            changing the status.  The argument is used to set the function
            of the switch to the status indicated by the argument and
            supplies the previous status as a return value.  It is therefore
            possible to change a switch with a function, and at the same
            time, save the previous status.

Library:    CT1.LIB


--------------------------------- Example ------------------------------

Examples:   * Assuming that the switch is off (.F.).

            previous_value = CSETCENT(.T.)

            * Will set previous value to (.F.) and at the
            * same time set CENTURY ON.



See Also: CSETALL()

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