FT_SETCENTURY

FT_SETCENTURY()
 Check/Set the CENTURY Setting

 Syntax

      FT_SETCENTURY( [ <lNewSetState> ] ) -> <lOldState>

 Arguments

     lNewSetState - Boolean to Set CENTURY
                      .F. - Toggle CENTURY off
                      .T. - Toggle CENTURY on
                      If not specified, leave CENTURY as is

 Returns

     The state of the CENTURY setting upon entry to the routine

 Description

     This function returns the state (ON/OFF, TRUE/FALSE) of the CENTURY
     and optionally sets it ON or OFF.

 Examples

     lOldState := FT_SETCENTURY()     // Get current CENTURY Setting

     lOldState := FT_SETCENTURY(.T.)  // Get the current CENTURY Setting
                                      // and turn it on (set it to TRUE)

     lOldState := FT_SETCENTURY(.F.)  // Get the current CENTURY Setting
                                      // and turn it off (set it to FALSE)

 Source: CNTRYSET.PRG

 Author: David Husnian

 

FT_SAVESETS

FT_SAVESETS()
 Save the status of all the SET command settings

 Syntax

      FT_SAVESETS() -> aOldSets

 Arguments

     None

 Returns

     An array containing the values of the supported SETs.

 Description

     This function saves the SET Settings, i.e., it copies them into an
     array, aOldSets.  The following SETs are not currently supported:
     FILTER, FORMAT, FUNCTION, INDEX, KEYS, MODE, ORDER, PROCEDURE,
     RELATION, TYPEAHEAD

 Examples

     aOldSets := FT_SAVESETS()

 Header File: SET.CH

 Source: SAVESETS.PRG

 Author: David Husnian

See Also: FT_RESTSETS() FT_SETCENTURY()

 

FT_RESTSETS

FT_RESTSETS()
 Restore status of all SET command settings

 Syntax

      FT_RESTSETS( [ <aOldSets> ] ) -> NIL

 Arguments

     aOldSets is an array of SET settings created by FT_SAVESETS()

 Returns

     NIL

 Description

     This function "restores" the SET Settings, i.e., it sets them to the
     values in the array aOldSets.  The following SETs are not currently
     supported: FILTER, FORMAT, FUNCTION, INDEX, KEYS, MODE, ORDER,
     PROCEDURE, RELATION, TYPEAHEAD

 Examples

     FT_RESTSETS(aOldSets)

 Header File: SET.CH

 Source: RESTSETS.PRG

 Author: David Husnian

See Also: FT_SAVESETS() FT_SETCENTURY()