ResyncDoc

(Engine-Level Function)

Description: 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 Only.
Function Groups: Compilation and On-Line Modifications,  File I/O,  Advanced Module
Related to: CanEditDoc
Format: ResyncDoc(Module [, Unsync])
Parameters:  
Module
Required. Any expression for the module or object value.
Unsync
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 is 0.
Comments: This function will set the date and time for the .RUN file to that of the document file.