TSources.AddExampleFiles¶
Adds example files matching file mask pattern
Declaration¶
Source position: fpmkunit.pp line 925
public
procedure TSources.AddExampleFiles(const AFileMask: string;
const ASearchPathPrefix: string;
Recursive: Boolean=False;
AInstallSourcePath: string='');
Description¶
AddExampleFiles adds example files to the source collection that match the specified file mask pattern. The method scans for files matching AFileMask and adds them to be included with the package as example code.
Example files are typically demonstration code showing how to use the package functionality. They are installed to the specified installation path for reference by package users.