ResyncDoc

Description:              This statement synchronizes the time and date for the document and .RUN files.

Warning:                   This function should be used by advanced users only since irrevocable alteration of your application may occur.

Returns:                    Nothing

Usage:                       Script

Format:                      ResyncDoc(Module [, Unsync])

Parameters:             Module     { Module }  { required }  { no default: }

                                      Any expression for the module or object value.

                                    Unsync  { Boolean }  { optional }  { default: 0 }

                                      An optional parameter that is any logical expression. If true (non-0), the module's .RUN file(s) are forced to be out of sync with the time stamp on its .SRC file(s); if false (0) the .RUN and .SRC files are synchronized. The default value for the Unsync parameter is 0.

Comments:               This function will set the date and time for the .RUN file to that of the document file.

See Also:

CanEditDoc