Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TSources.AddSrc

Adds source files to the collection

Declaration

Source position: fpmkunit.pp line 914

public function TSources.AddSrc(

  const AFiles: string

):TSource;

Arguments

AFiles

  

List of source files to add

Function result

Newly created source item

Description

Creates and adds a new source entry that specifies Pascal source files (.pp, .pas) to be distributed with the package. These files are typically installed for developers who want to examine or modify the package source code.

Source files are separate from compiled units and provide transparency and modification capabilities for package users.


Documentation generated on: Dec 15 2025