Sign in Join
FPDoc Onlineexperiment

TDictionary.GetValue function

Member of TDictionarypublicIn unit fpMkUnit

Retrieves substituted value for dictionary entry

Declaration

pascal
function GetValue(AName: string): string
function GetValue(const AName: string; const Args: string): string
 ; virtual

Arguments

AName

Name of dictionary entry to retrieve

Args

Arguments string for function replacements

Function result

Substituted string value from dictionary

Description

Retrieves the value for the specified dictionary entry name. For variables, returns the stored string value. For functions, executes the callback with the provided arguments and returns the computed result.

Raises an exception if the requested entry name is not found in the dictionary.

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