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

TCommands

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Collection of commands to execute during build

Declaration

Source position: fpmkunit.pp line 417

type TCommands = class(TNamedCollection)

public

  function AddCommand();

  

Add a new command to the collection

  function GetEnumerator;

  

Get enumerator for iterating commands

  property CommandItems []: TCommand; [rw]

  

Indexed access to command items

  property Commands []: TCommand; default; [r]

  

Access to commands by destination

  property DefaultAt: TCommandAt; [rw]

  

Default execution timing for commands

end;

Inheritance

TCommands

  

Collection of commands to execute during build

|

TNamedCollection

  

Collection class for managing named items

|

TCollection

|

TPersistent

|

TObject,IFPObserved

Description

TCommands is a specialized collection class that manages a list of TCommand objects.

This class provides methods to add, remove, and iterate through build commands that should be executed during the package compilation process.

Commands are typically shell commands, compiler invocations, or other external tools needed for building packages.


Documentation generated on: Dec 15 2025