Unit 'fpWeb' Package
[Overview][Resource strings][Types][Classes][Index] [#fcl]

TTemplateVars.FindVar

Searches for a variable with the specified name

Declaration

Source position: fpweb.pp line 100

public function TTemplateVars.FindVar(

  const AName: string

):TTemplateVar;

Arguments

AName

  

The name of the variable to search for

Function result

The template variable with the specified name, or nil if not found

Description

Searches for a template variable with the given name. Returns nil if no variable with the specified name is found.

See also

VarByName

  

Returns the variable with the specified name


Documentation generated on: Jan 27 2026