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

TTargets.AddExampleProgram

Adds an example program target to the collection

Declaration

Source position: fpmkunit.pp line 871

public function TTargets.AddExampleProgram(

  const AProgramName: string

):TTarget;

function TTargets.AddExampleProgram(

  const AProgramName: string;

  const OSes: TOSes

):TTarget;

function TTargets.AddExampleProgram(

  const AProgramName: string;

  const CPUs: TCPUS;

  const OSes: TOSes

):TTarget;

Arguments

AProgramName

  

Name of the example program to create

Function result

Newly created example program target

Arguments

AProgramName

  

Name of the example program to create

OSes

  

Target operating systems for example program

Arguments

AProgramName

  

Name of the example program to create

CPUs

  

Target CPU architectures for example program

OSes

  

Target operating systems for example program

Description

Creates and adds a new example program target that demonstrates package functionality through executable sample applications.

Example programs provide working demonstrations of package features and serve as practical documentation for developers.


Documentation generated on: Dec 15 2025