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

TDictionary.AddVariable

Adds a variable name-value pair to the dictionary

Declaration

Source position: fpmkunit.pp line 580

public procedure TDictionary.AddVariable(

  const AName: string;

  const Value: string

);

Arguments

AName

  

Variable name for substitution

Value

  

Variable value for substitution

Description

Adds or updates a variable with the specified name and value in the dictionary. If a variable with the same name already exists, its value is replaced.

Variables are used for static string substitution in configuration files, command line arguments, and file paths.


Documentation generated on: Dec 15 2025