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>filecdati()</b> http://www.X-Hacker.org [<<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()

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