GlobalDictionary¶
Global dictionary instance
Declaration¶
Source position: fpmkunit.pp line 1694
var
GlobalDictionary: type
TDictionary = class(TComponent)
public
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
procedure AddVariable(const AName: string; const Value: string);
procedure AddFunction(const AName: string;
FReplacement: TReplaceFunction);
procedure RemoveItem(const AName: string);
function GetValue(AName: string) : string;
function GetValue(const AName: string; const Args: string) : string
; virtual;
function ReplaceStrings(const ASource: string;
const MaxDepth: Integer=10) : string; virtual;
function Substitute(const Source: string;
const Macros: Array of string = string) : string
; virtual;
end;
Description¶
GlobalDictionary is a global dictionary instance used for system-wide variable storage and template processing. This dictionary provides a shared namespace for global configuration variables and template substitutions.
The global dictionary is accessible throughout the build system and enables sharing of common variables and settings across different packages and build operations.