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

TDictionary.GetValue

Retrieves substituted value for dictionary entry

Declaration

Source position: fpmkunit.pp line 583

public function TDictionary.GetValue(

  AName: string

):string;

function TDictionary.GetValue(

  const AName: string;

  const Args: string

):string; virtual;

Arguments

AName

  

Name of dictionary entry to retrieve

Function result

Substituted string value from dictionary

Arguments

AName

  

Name of dictionary entry to retrieve

Args

  

Arguments string for function replacements

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.


Documentation generated on: Dec 15 2025