Sign in Join
FPDoc Onlineexperiment

TDictionary.AddVariable procedure

Member of TDictionarypublicIn unit fpMkUnit

Adds a variable name-value pair to the dictionary

Declaration

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

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