
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Clipper Tools One Guide - <b>csetcons()</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CSETCONS()
Syntax: CSETCONS([<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 CSETCONS().
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 = CSETCONS(.T.)
* Will set previous value to (.F.) and at the
* same time set CONSOLE ON.
See Also: CSETALL()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson