SaveToDiskAndList

Top  Previous  Next

Saves the file to disk, and add it to the list of saved files.

 

Syntax:

function SaveToDiskAndList(FileName: string): Boolean;

 

Description:

FileName is the file name you want to save the file in.  The return value indicates if the file was successfully saved.  If successfully saved, the file name will be added to a list.  This list can be used in the TChmProjectFile.AddAllSavedFiles method to easily build up the file list in the compiled HTML project file.

 

Example:

 

scripting_ttextfile_savetodiskandlist