Sign in Join
FPDoc Onlineexperiment

TSources.AddSrc function

Member of TSourcespublicIn unit fpMkUnit

Adds source files to the collection

Declaration

pascal
function 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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.