FT Environment

 FT_COM3OR4()     Enable use of COM3 and/or COM4 on IBM/PC compatables.
 FT_DIR2DB()      Create .DBF of directory files, using DOS filespec
 FT_EXIST()       Test for drive and/or subdir on SINGLE-USER systems only.
 FT_GETE()        Return the entire current environment
 FT_LINKED()      Determine if a function was linked in
 FT_ORIGIN()      Report the drive, path and filename of the current program
 FT_RESTSETS()    Restore status of all SET command settings
 FT_SAVESETS()    Save the status of all the SET command settings
 FT_SETCENTURY()  Check/Set the CENTURY Setting
 FT_TREE()        Locate all directories and subdirectories on a drive
 FT_WHEREIS()     Locate all occurrences of a filespec on a drive

 

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()