[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FILECDATI()
 Determines whether a source file's date and time stamp or the system's date
 and time stamp, should be used to create or copy a file.  Use original or
 system time for a copy
------------------------------------------------------------------------------
 Syntax

     FILECDATI([<lNewMode>]) --> lOldMode

 Argument

     <lNewMode>  Designates the new status for FILECDATI().  When .T. is
     designated, the target file contains the source file date; when it is
     .F., the system date.  The default is the source file date (.T.).

 Returns

     If no parameter is designated, FILECDATI() returns the current setting
     for FILECDATI(); otherwise, it returns the previous setting.

 Description

     FILE COPY DATE TIME
     FILECDATI() determines which date the target file contains with a
     FILECOPY().  When you partition to several disks in backup mode, this
     concerns all target files.  The CA-Clipper Tools default is .T., where
     the target file contains the date and time of the source file.  If you
     call FILECDATI() with the parameter designated .F., then the target file
     contains the system date and time.

 Notes

     .  Use this function before FILECOPY().

     .  If the target file contains a unique setting such as a pseudo
        serialization, use the SETFDATI() function.

 Examples

     .  Query the FILECDATI() setting:

        ? FILECDATI()            // The current setting

     .  The target file is to contain the system date and time:

        ? FILECDATI(.F.)         // Returns the previous setting


See Also: FILECOPY() SETFDATI()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson