Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>csetxxxx()*</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CSETxxxx()*
 Queries the SET position of a particular ON/OFF switch and provides the
 option to set it
------------------------------------------------------------------------------
 Syntax

     CSETxxxx([<lNewSwitch>]) --> lOldSwitch

     *  This function is retained in CA-Clipper Tools for compatibility
        purposes.  Use the CA-Clipper SET() function to develop future
        applications.

 Argument

     <lNewSwitch>  Designates the new status for the SET xxxx command.
     .T. corresponds to on; .F. signifies off.

 Returns

     If no parameter is passed, the function returns the current setting;
     otherwise, it returns the previous setting.

 Description

     This is a group of 20 functions.  If you call all these functions the
     same way, they return the same value.  Each function name consists of
     "CSET", and the first four characters of the respective CA-Clipper set
     condition:

     Table 11-4:  Functions to Query Clipper Set Conditions
     ------------------------------------------------------------------------
     Function       Set Condition
     ------------------------------------------------------------------------
     CSETALTE()     SET ALTERNATE ON/OFF
     CSETBELL()     SET BELL ON/OFF
     CSETCARR()     SET CARRY ON/OFF (See note)
     CSETCENT()     SET CENTURY ON/OFF
     CSETCONF()     SET CONFIRM ON/OFF
     CSETCONS()     SET CONSOLE ON/OFF
     CSETCURS()     SET CURSOR ON/OFF
     CSETDELE()     SET DELETED ON/OFF
     CSETDELI()     SET DELIMITERS ON/OFF
     CSETDEVI()     SET DEVICE TO PRINT (.T.)/SCREEN (.F.)
     CSETESCA()     SET ESCAPE ON/OFF
     CSETEXAC()     SET EXACT ON/OFF
     CSETEXCL()     SET EXCLUSIVE ON/OFF
     CSETFIXE()     SET FIXED ON/OFF
     CSETTINTE()    SET INTENSITY ON/OFF
     CSETPRIN()     SET PRINT ON/OFF
     CSETSCOR()     SET SCOREBOARD ON/OFF
     CSETSOFT()     SET SOFTSEEK ON/OFF
     CSETUNIQ()     SET UNIQUE ON/OFF
     CSETWRAP()     SET WRAP ON/OFF
     ------------------------------------------------------------------------

 Note

     .  CSETCARR() is not useful in CA-Clipper.  Since this function
        was in CA-Clipper Tools and also occupies a position in CSETALL(), it
        is retained for compatibility purposes.

 Examples

     .  Switch SET UNIQUE on:

        ? CSETUNIQ(.T.)         // Returns previous setting

     .  Save a setting:

        lOldWRAP:= CSETWRAP()


See Also: CSETALL()

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