Unit 'fpTemplate' Package
[Overview][Constants][Types][Classes][Variables][Index] [#fcl]

TTemplateParser.GetParam

Get a value for a parameter.

Declaration

Source position: fptemplate.pp line 84

public function TTemplateParser.GetParam(

  const Key: string;

  out AValue: string

):Boolean;

Arguments

Key

  

Name of the parameter to get a value for.

AValue

  

The value for the parameter.

Function result

True if a value was found for the parameter.

Description

GetParam will get the value for the parameter with name Key and return it in AValue.

First, the Values list is consulted. If the parameter is not found there, the OnGetParam event is called. If the parameter is found, the function returns True, otherwise it returns False.

See also

Values

OnGetParam


Documentation generated on: Dec 15 2025